We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb16392 commit 73c7b61Copy full SHA for 73c7b61
src/test/java/org/jenkinsci/plugins/workflow/cps/FlowDurabilityTest.java
@@ -617,6 +617,7 @@ public void evaluate() throws Throwable {
617
@Override
618
public void evaluate() throws Throwable {
619
WorkflowRun run = story.j.jenkins.getItemByFullName("durableAgainstClean", WorkflowJob.class).getLastBuild();
620
+ if (run == null) { return; } //there is a small chance due to non atomic write that build.xml will be empty and the run won't load at all
621
verifyFailedCleanly(story.j.jenkins, run);
622
story.j.assertLogContains(logStart[0], run);
623
}
0 commit comments