Skip to content

Conversation

@mezpahlan
Copy link

Carried over from regression in #52. Attempting to make the versionCreation field optional by making better use of @DataBoundSetter functionality.

@mezpahlan
Copy link
Author

mezpahlan commented Nov 6, 2018

Hi @MikolajKakol are you able to test these changes out? Hopefully it fixes the issue you were having.

@mezpahlan
Copy link
Author

@jenkinsci/code-reviewers Could you also give this a look. The original problem was that we introduced a new parameter in the @DataBoundContructor that forced a new behaviour on existing users that really should have been optional. I think now we fall back to a sensible default if no additional parameter is explicitly set in the pipeline..... At least that's what I hope 😸

Needed to prevent further breakages as others (such as test classes) may
 need it.
@MikolajKakol
Copy link

I tested 1.4.0-SNAPSHOT (private-d9c692c6-jenkins) from https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fhockeyapp-plugin/detail/PR-56/2/artifacts
and it worked. Thx!

@mezpahlan
Copy link
Author

@MikolajKakol Thank you for confirming. I'll wait until the Jenkins Code Reviewers have a look before merging.

@mezpahlan
Copy link
Author

I've added some tests for this confirming the new behavioural changes and hopefully should protect against further breakages.

@jenkinsci/code-reviewers If one of you has time I'd appreciate a quick look over this. The original problem was that we introduced a new parameter in the @DataBoundContructor that forced a new behaviour on existing users that really should have been optional. I think now we fall back to a sensible default if no additional parameter is explicitly set in the pipeline.

@mezpahlan mezpahlan merged commit d484957 into jenkinsci:master Nov 14, 2018
@mezpahlan mezpahlan deleted the bugfix/JENKINS-54498-version-creation-databoundconstructor-regression branch November 14, 2018 21:17
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