Skip to content

Commit

Permalink
JENKINS-64946 : Branch indexing occurring for every multibranch job
Browse files Browse the repository at this point in the history
execution

WHAT

1. If multibranch project trigger a build for a branch then it should
build for head which is in the Observer and not for all heads that
matches the multibranch.
  • Loading branch information
skumar7322 committed Apr 25, 2022
1 parent b3d23fa commit 49b2dda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ protected void commitFile(JenkinsRule jenkins, String path, String content) thro
}

protected boolean waitForBuild(WorkflowJob job, int buildNumber) throws InterruptedException {
return waitForBuild(job, buildNumber, 50, 200L);
return waitForBuild(job, buildNumber, 170, 200L);
}

protected boolean waitForBuild(WorkflowJob job, int buildNumber, final int retry, long delay) throws InterruptedException {
Expand Down

0 comments on commit 49b2dda

Please sign in to comment.