Merge pull request #400 from ace13/patch-1

Fix gitlabBuilds step to actually use 'pending'
This commit is contained in:
Robin Müller 2016-08-25 12:10:08 +02:00 committed by GitHub
commit 13e7364175
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class GitLabBuildsStep extends AbstractStepImpl {
@Override
public void onStart(StepContext context) {
for (String name : step.builds) {
CommitStatusUpdater.updateCommitStatus(run, getTaskListener(context), BuildState.running, name);
CommitStatusUpdater.updateCommitStatus(run, getTaskListener(context), BuildState.pending, name);
}
run.addAction(new PendingBuildsAction(new ArrayList<>(step.builds)));
}