-
-
Notifications
You must be signed in to change notification settings - Fork 134
Fixing RunLoadCounter to not assume TransientActionFactory triggers RunAction2.onLoad
#1042
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
Conversation
…rs `RunAction2.onLoad`
| /** | ||
| * Counts how many build records are loaded as a result of some task. | ||
| * @param project a project on which {@link #prepare} was called prior to creating builds | ||
| * @param project a project which may have some builds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgotten earlier.
| assertThat(p.getBuildByNumber(i).number, is(i)); | ||
| } | ||
| }), | ||
| is(5)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fails (0) without fix when run against 2.533.
MarkEWaite
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
jeromepochat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally with org.jenkinsci.plugins.pipeline.modeldefinition.properties.PreserveStashesJobPropertyLoadTest
Thanks a lot!
#583 (comment) Adapting to jenkinsci/jenkins#11203.