Skip to content

Expand local manifest#36

Merged
rsandell merged 2 commits intojenkinsci:masterfrom
mnonnenmacher:expandLocalManifest
Aug 17, 2016
Merged

Expand local manifest#36
rsandell merged 2 commits intojenkinsci:masterfrom
mnonnenmacher:expandLocalManifest

Conversation

@mnonnenmacher
Copy link
Copy Markdown

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.

My only concern about this change 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".

Also see https://issues.jenkins-ci.org/browse/JENKINS-37416 .

The Javadoc was not updated when the method was changed in fc2c8d1.
Apply the variable expansion added in fc2c8d1 also to the local manifest.
@rsandell
Copy link
Copy Markdown
Member

If there was a reason this was left out I wouldn't know :)

Maybe there is a risk that the xml format might contain variable names that shouldn't be expanded? But it seems unlikely to me.

@rsandell rsandell merged commit 0b3120d into jenkinsci:master Aug 17, 2016
@mnonnenmacher
Copy link
Copy Markdown
Author

Great, thanks for merging @rsandell ! Do you think it's worth releasing a 1.10.3 for this change? Would be great for my team at least ;)

@rsandell
Copy link
Copy Markdown
Member

I had a bunch of other plugins to release yesterday, so I didn't get to this one before the day was over. But it is released now.

@mnonnenmacher
Copy link
Copy Markdown
Author

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants