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

Expand environment variables in fingerprint targets

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Any
    • Similar Issues:

      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

          Hide
          mrobinet mrobinet added a comment -
          Show
          mrobinet mrobinet added a comment - See pull request in GitHub: https://github.com/jenkinsci/jenkins/pull/80
          Hide
          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.

          Show
          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.
          Hide
          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
          Show
          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
          Hide
          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.

          Show
          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

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

              Dates

              • Created:
                Updated:
                Resolved: