Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29811

File used for injection is first looked up in directory containing workspace

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • envinject-plugin
    • None

      When injecting a file with a given name, for example, "propfile".

      Let's say my slave has a "jenkins" folder which contains the workspaces.

      if a file with the name "Propfile" exist within the "jenkins" folder and in the current workspace, plugin will first use the on within the "jenkins" folder which seems to go against what is expected.

      I reported it as a bug, but if it's the expected behaviour, I believe it should be changed or more documented to prevent problems to other people.

          [JENKINS-29811] File used for injection is first looked up in directory containing workspace

          Wilco Greven added a comment -

          This is a duplicate of JENKINS-23666.

          Wilco Greven added a comment - This is a duplicate of JENKINS-23666 .

          Oleg Nenashev added a comment -

          Closing as a duplicate

          Oleg Nenashev added a comment - Closing as a duplicate

            gbois Gregory Boissinot
            marts Martin Bédard
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: