Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-26942] File stashing.
Originally-Committed-As: 1c4a4416ed06ec5311ffac57f26957eab831b03e
  • Loading branch information
jglick committed Aug 20, 2015
1 parent c9b11ec commit 0970142
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}

/**
Expand Down

0 comments on commit 0970142

Please sign in to comment.