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

Variables in local manifest are not expanded

    Details

    • Similar Issues:

      Description

      Variable expansion works for all other fields, but not for the local manifest. This makes it impossible to define the local manifest or its URL using environment variables or a pre SCM step.

      I will create a pull request with a fix soon, my only concern is that there might be a good reason why it was not implemented for the local manifest so far. If so I could improve the pull request and add a checkbox like "Do not expand variables in local manifest".

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Martin Nonnenmacher
          Path:
          src/main/java/hudson/plugins/repo/RepoScm.java
          http://jenkins-ci.org/commit/repo-plugin/e8dc1122e9c5ec96f1780b9b1c3eca6af42cf79f
          Log:
          [FIXED JENKINS-37416] Expand local manifest value

          Apply the variable expansion added in fc2c8d1 also to the local manifest.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Martin Nonnenmacher Path: src/main/java/hudson/plugins/repo/RepoScm.java http://jenkins-ci.org/commit/repo-plugin/e8dc1122e9c5ec96f1780b9b1c3eca6af42cf79f Log: [FIXED JENKINS-37416] Expand local manifest value Apply the variable expansion added in fc2c8d1 also to the local manifest.

            People

            • Assignee:
              Unassigned
              Reporter:
              manonnen Martin Nonnenmacher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: