We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f6c9e89 + ef9cff7 commit 7afd50aCopy full SHA for 7afd50a
src/main/java/org/jenkinsci/plugins/workflow/steps/durable_task/DurableTaskStep.java
@@ -526,6 +526,9 @@ private static final class NewlineSafeTaskListener extends OutputStreamTaskListe
526
}
527
528
@Override public String getStatus() {
529
+ if (controller == null) {
530
+ return "not yet started";
531
+ }
532
StringBuilder b = new StringBuilder();
533
try (Timeout timeout = Timeout.limit(2, TimeUnit.SECONDS)) { // CpsThreadDump applies a 3s timeout anyway
534
FilePath workspace = getWorkspace();
0 commit comments