Fix gitlabBuilds step to actually use 'pending'

This commit is contained in:
Alexander "Ace" Olofsson 2016-08-25 10:56:57 +02:00 committed by GitHub
parent 00c2265a0e
commit a8f14558b5
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)));
}