Fix gitlabBuilds step to actually use 'pending'
This commit is contained in:
parent
00c2265a0e
commit
a8f14558b5
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue