From a8f14558b51fb0ba6eb2ac7402c93b318c4aeb61 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Thu, 25 Aug 2016 10:56:57 +0200 Subject: [PATCH] Fix gitlabBuilds step to actually use 'pending' --- .../com/dabsquared/gitlabjenkins/workflow/GitLabBuildsStep.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/dabsquared/gitlabjenkins/workflow/GitLabBuildsStep.java b/src/main/java/com/dabsquared/gitlabjenkins/workflow/GitLabBuildsStep.java index 9a3894f..8a367c0 100644 --- a/src/main/java/com/dabsquared/gitlabjenkins/workflow/GitLabBuildsStep.java +++ b/src/main/java/com/dabsquared/gitlabjenkins/workflow/GitLabBuildsStep.java @@ -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))); }