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.
logTimings
1 parent 72bd535 commit 960a3f7Copy full SHA for 960a3f7
src/main/java/org/jenkinsci/plugins/workflow/cps/CpsVmExecutorService.java
@@ -166,7 +166,7 @@ private void tearDown(ThreadContext context) {
166
cpsThreadGroup.busy = false;
167
context.restore();
168
CpsFlowExecution execution = cpsThreadGroup.getExecution();
169
- if (isShutdown()) {
+ if (isShutdown() && /* build completed, not just after suspendAll */!cpsThreadGroup.getThreads().iterator().hasNext()) {
170
execution.logTimings();
171
}
172
CpsCallableInvocation.registerMismatchHandler(null);
0 commit comments