Merge pull request #209 from jenkinsci/fix_mr_status_pending

Don't ignore push builds when responding to status query
This commit is contained in:
Owen Mehegan 2016-03-01 13:50:08 -08:00
commit 72c72cb453
1 changed files with 0 additions and 4 deletions

View File

@ -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;
}