Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-31884] Integration test for Git webhooks in multibranch proj…
…ects.

Originally-Committed-As: 1fd0023a0cfb1f0d0aa0dd069371e58ae24d208d
  • Loading branch information
jglick committed Dec 3, 2015
1 parent f3a40cf commit f00ff18
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -123,7 +123,8 @@ public class SCMBinderTest {
sampleGitRepo.write("file", "subsequent content");
sampleGitRepo.git("commit", "--all", "--message=tweaked");
SemaphoreStep.success("wait/1", null);
WorkflowRun b2 = story.j.assertBuildStatusSuccess(p.scheduleBuild2(0));
sampleGitRepo.notifyCommit(story.j);
WorkflowRun b2 = p.getLastBuild();
assertEquals(2, b2.getNumber());
story.j.assertLogContains("initial content", story.j.waitForCompletion(b1));
story.j.assertLogContains("SUBSEQUENT CONTENT", b2);
Expand Down

0 comments on commit f00ff18

Please sign in to comment.