Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand local manifest #36

Merged
merged 2 commits into from
Aug 17, 2016
Merged

Conversation

mnonnenmacher
Copy link

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
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
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
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
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