From 8354147f0a61f8da54a163ef4e21faa9fd4f7507 Mon Sep 17 00:00:00 2001 From: Owen Mehegan Date: Thu, 25 Feb 2016 14:54:03 -0800 Subject: [PATCH] When responding to build status requests from MR, don't ignore builds triggered by pushes. Fixes https://github.com/jenkinsci/gitlab-plugin/issues/86 --- src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java b/src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java index e9d1d8a..e9d5db7 100644 --- a/src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java +++ b/src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java @@ -548,10 +548,6 @@ public class GitLabWebHook implements UnprotectedRootAction { return build; } } else { - if (!isMergeRequestBuild) - // skip Push builds - continue; - if (hasBeenBuilt(data, ObjectId.fromString(commitSHA1), build)) { return build; }