Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-27631] But demonstrating that it is stored temporarily.
  • Loading branch information
jglick committed Mar 26, 2015
1 parent 6e03cdb commit 16c180f
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -102,11 +102,12 @@ public class BindingStepTest {
});
story.addStep(new Statement() {
@Override public void evaluate() throws Throwable {
SemaphoreStep.success("basics/1", null);
WorkflowJob p = story.j.jenkins.getItemByFullName("p", WorkflowJob.class);
assertNotNull(p);
WorkflowRun b = p.getBuildByNumber(1);
assertNotNull(b);
assertEquals("TODO JENKINS-27631", Collections.singleton("program.dat"), grep(b.getRootDir(), password));
SemaphoreStep.success("basics/1", null);
while (b.isBuilding()) { // TODO 1.607+ use waitForCompletion
Thread.sleep(100);
}
Expand Down

0 comments on commit 16c180f

Please sign in to comment.