Skip to content
Permalink
Browse files

[FIXED JENKINS-26942] File stashing.

Originally-Committed-As: 1c4a4416ed06ec5311ffac57f26957eab831b03e
  • Loading branch information
jglick committed Aug 20, 2015
1 parent c9b11ec commit 09701425814087cb092afee005703a7db28817df
Showing with 6 additions and 0 deletions.
  1. +6 −0 job/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java
@@ -84,6 +84,7 @@
import org.jenkinsci.plugins.workflow.flow.FlowExecution;
import org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner;
import org.jenkinsci.plugins.workflow.flow.GraphListener;
import org.jenkinsci.plugins.workflow.flow.StashManager;
import org.jenkinsci.plugins.workflow.graph.BlockEndNode;
import org.jenkinsci.plugins.workflow.graph.FlowEndNode;
import org.jenkinsci.plugins.workflow.graph.FlowNode;
@@ -449,6 +450,11 @@ private void finish(@Nonnull Result r, @CheckForNull Throwable t) {
}
}
FlowExecutionList.get().unregister(new Owner(this));
try {
StashManager.maybeClearAll(this);
} catch (IOException x) {
LOGGER.log(Level.WARNING, null, x);
}
}

/**

0 comments on commit 0970142

Please sign in to comment.
You can’t perform that action at this time.