Skip to content

Comments

[JENKINS-29646] - fix bug in constructor call that breaks rebuild-plugin#41

Merged
stephenc merged 1 commit intojenkinsci:masterfrom
jrajax:master
Feb 15, 2016
Merged

[JENKINS-29646] - fix bug in constructor call that breaks rebuild-plugin#41
stephenc merged 1 commit intojenkinsci:masterfrom
jrajax:master

Conversation

@jrajax
Copy link
Contributor

@jrajax jrajax commented Jan 27, 2016

This pull request swaps the order of 2 parameters in a call to CredentialsParameterDefinition constructor to match the definition. This error caused the Rebuild Plugin to swap the parameter description with the credential GUID when a rebuild was requested. This in turn selected the credential at the top of the dropdown list instead of the credential from the specified build thereby defeating the reason for using the rebuild plugin (see issue JENKINS-29646)

I have been using this for a couple weeks and it has solved the issue with the Rebuild Plugin behaving in the expected manner.

-description and value parameters were swapped in constructor call causing
the credential parameter value of the previous build to be replaced with a
"global" default (i.e. the first credential parameter from the dropdown list)
when triggering a rebuild.
@oleg-nenashev
Copy link
Member

👍

stephenc added a commit that referenced this pull request Feb 15, 2016
[JENKINS-29646] - fix bug in constructor call that breaks rebuild-plugin
@stephenc stephenc merged commit 5eea943 into jenkinsci:master Feb 15, 2016
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.

3 participants