Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test JENKINS-30178 using GitStatus.toString
Asserts that job parameter default values are available when a job is started by a notifyCommit. If the notifyCommit includes a sha1 parameter, then the changes for JENKINS-27092 fail to assign parameters their default values. Modifying the GitStatus object to be more easily tested was simpler than using a TestExtension. Should eventually replace the testing misuse of the GitStatus.toString() method with a TestExtension of GitStatus.Listener.
- Loading branch information
1 parent
4937c6c
commit 2dfd86d
Showing
2 changed files
with
188 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2dfd86d
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.
Wrong Jenkins issue in commit messgae? This is not https://issues.jenkins-ci.org/browse/JENKINS-27092
2dfd86d
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.
My mistake. You're absolutely correct. That is an incorrect reference to the bug which caused the problem described in JENKINS-30178. Unfortunately, I'm not going to rebase and overwrite the history because there are too many places where downstream users see the history of the plugin.
Sorry about that mistake.
2dfd86d
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.
Ha, beat me to it.