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

using JENKINS_HOME in "certain file" build trigger doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • job-poll-action-plugin
    • None
    • Jenkins 1.520 - CentOS rpm

      We have one or two jobs using the "Build when certain files are found" build trigger. One of those "certain files" is in a subdirectory of the JENKINS_HOME directory. Currently, it appears that I am not able to use the ${JENKINS_HOME} environment var in the directory field of the build trigger. It throws an error of "Directory not found"

      Changing it to a hard-coded path (/var/lib/jenkins for example) works successfully.

            Unassigned Unassigned
            cwilso1 Curtis Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: