assertTrue(b3.isBuilding());
story.j.assertLogContains("done", b1);
story.j.assertLogContains("in B", b3);
story.j.assertLogNotContains("done", b3);
SemaphoreStep.success("X/2", null);
e3.waitForSuspension();
assertFalse(b3.isBuilding());
assertEquals(Result.SUCCESS, b3.getResult());
story.j.assertLogContains("done", b3);
} finally {
System.out.println(JenkinsRule.getLog(b1));