Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
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".
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.