-
Notifications
You must be signed in to change notification settings - Fork 97
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
Fix wrong usage of CauseAction, rename some method. #54
Conversation
@@ -226,12 +226,11 @@ public void parameterizedRebuild(Run currentBuild, StaplerResponse response) thr | |||
if (project == null) { | |||
return; | |||
} | |||
System.out.println("rbx: " + (currentBuild == build)); |
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.
Please avoid System.out. Use logging if text output necessary (but it is?)
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.
It's my debugging output. Been removed.
This should fix the unit tests :
|
Should I fork @tianzhipeng-git 's fork and open another pull request? Thanks |
SInce hudson.model.Run
use just one CauseAction object to get several causes, So adding several CauseAction doesn't work.