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

          Martin Bédard created issue -
          Martin Bédard made changes -
          Description Original: 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.
          New: 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.

          Wilco Greven added a comment -

          This is a duplicate of JENKINS-23666.

          Wilco Greven added a comment - This is a duplicate of JENKINS-23666 .
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164887 ] New: JNJira + In-Review [ 181725 ]

          Oleg Nenashev added a comment -

          Closing as a duplicate

          Oleg Nenashev added a comment - Closing as a duplicate
          Oleg Nenashev made changes -
          Link New: This issue duplicates JENKINS-23666 [ JENKINS-23666 ]
          Oleg Nenashev made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: