-
Bug
-
Resolution: Fixed
-
Minor
-
None
I create a matrix build with Artifact Deployer plugin. I start my new job, I'll wait for it to end. Job has deployed atrifacts. I restart Jenkins. Job has no atrifacts. Build.xml has no info about deployed atrifacts.
Patch - ArtifactDeployerPublisher.java
public MatrixAggregator createAggregator(MatrixBuild build, Launcher launcher, BuildListener listener) { return new MatrixAggregator(build, launcher, listener) { @Override public boolean endRun(MatrixRun run) throws InterruptedException, IOException { boolean result = _perform(run, launcher, listener); run.save(); //it is important !! return result; } }; }