jenkinsci / ontrack-plugin

ontrack plug-in for Jenkins
https://plugins.jenkins.io/ontrack/
MIT License
9 stars 6 forks source link

Ontrack Change Log plugin must not synchronize on the build #26

Closed dcoraboeuf closed 7 years ago

dcoraboeuf commented 7 years ago

The Ontrack Change Log plugin currently synchronizes on the previous build:

@Override
public BuildStepMonitor getRequiredMonitorService() {
    return BuildStepMonitor.BUILD;
}

In case of concurrent builds, this causes the step to wait for the previous build to complete.

According to the documentation] at http://javadoc.jenkins-ci.org/hudson/tasks/BuildStep.html#getRequiredMonitorService(), the NONE build monitor should be enough.

dcoraboeuf commented 7 years ago

Since the Ontrack Change Log plug-ins relies on the parameter actions to be filled in, we might have to rely on the CheckPoint.block() method to wait for them to be available.

dcoraboeuf commented 7 years ago

Will be available in 2.29.1