Open jeremybarr opened 8 years ago
Not sure if this is possible. Worth looking into if someone wants to take this up
@nemccarthy: You need to change the return value of getRequiredMonitorService()
in StashPostBuildComment
from BuildStepMonitor.BUILD
to BuildStepMonitor.NONE
.
See http://javadoc.jenkins-ci.org/hudson/tasks/BuildStep.html#getRequiredMonitorService--
So your code must look like this
public BuildStepMonitor getRequiredMonitorService() { return BuildStepMonitor.NONE; }
What @ErdnussFlipS wrote is correct. This problem has been affecting many plugins you can check the fix for sloccount with links to other fixes here: https://github.com/jenkinsci/sloccount-plugin/commit/d205dc8a50f4f488657fac2ee293235fc31d1712
If I am running basically a PR build/merge job on multiple nodes, the post build tasks wait on any previous jobs running before they will finish. In the case of PR builds, there is not always the need to wait on previous builds when running concurrently on multiple nodes since they may be from different PRs. Would it be possible to add an option to not have the post build tasks wait on checkpoints?