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

Expand environment variables in fingerprint targets

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None
    • Any

    Description

      Environment variables are not exapnded when used in the "Files to fingerprint" field.

      Additionally, the "Files to archive" field supports environment variable expansion, which causes a disconnect when the "Fingerprint all archived artifacts" is used. In this scenario Fingerprinter reuses the target string from the ArtifactArchiver, but does not expand the variables, causing it to not work properly.

      I'll be submitting a pull request shortly to fix this.

      Attachments

        Activity

          mrobinet mrobinet added a comment -
          mrobinet mrobinet added a comment - See pull request in GitHub: https://github.com/jenkinsci/jenkins/pull/80

          Code changed in jenkins
          User: Mike Robinet
          Path:
          core/src/main/java/hudson/tasks/Fingerprinter.java
          http://jenkins-ci.org/commit/jenkins/d6948ecd5300f905756624cbe8e68e44c5ddfc6b
          Log:
          [FIXED JENKINS-9138] Expand environment variables in fingerprint targets.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mike Robinet Path: core/src/main/java/hudson/tasks/Fingerprinter.java http://jenkins-ci.org/commit/jenkins/d6948ecd5300f905756624cbe8e68e44c5ddfc6b Log: [FIXED JENKINS-9138] Expand environment variables in fingerprint targets.
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #620
          [FIXED JENKINS-9138] Expand environment variables in fingerprint targets.

          Kohsuke Kawaguchi : d6948ecd5300f905756624cbe8e68e44c5ddfc6b
          Files :

          • core/src/main/java/hudson/tasks/Fingerprinter.java
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #620 [FIXED JENKINS-9138] Expand environment variables in fingerprint targets. Kohsuke Kawaguchi : d6948ecd5300f905756624cbe8e68e44c5ddfc6b Files : core/src/main/java/hudson/tasks/Fingerprinter.java

          Code changed in jenkins
          User: Mike Robinet
          Path:
          core/src/main/java/hudson/tasks/Fingerprinter.java
          http://jenkins-ci.org/commit/jenkins/d6948ecd5300f905756624cbe8e68e44c5ddfc6b
          Log:
          [FIXED JENKINS-9138] Expand environment variables in fingerprint targets.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mike Robinet Path: core/src/main/java/hudson/tasks/Fingerprinter.java http://jenkins-ci.org/commit/jenkins/d6948ecd5300f905756624cbe8e68e44c5ddfc6b Log: [FIXED JENKINS-9138] Expand environment variables in fingerprint targets.

          People

            Unassigned Unassigned
            mrobinet mrobinet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: