-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
1.461 and Above
In versions prior to 1.461 one could redeploy all artifacts of a build from the build page from the "Redeploy Artifacts" button.
In 1.461 and above the "Redeploy Artifacts" button no longer appears on the root build page and only appears on each component page.
This appears to be caused this section:
<hudson.maven.reporters.MavenAggregatedArtifactRecord>
<records/>
<parent reference="../../.."/
</hudson.maven.reporters.MavenAggregatedArtifactRecord>
no longer appearing in the build.xml.
This bug makes redeploying large multi-module projects problematic, complicating promotion of a build from a staging to a release repository
Workaround
Using a post build groovy step similar to the code below:
def mavenModuleSetBuild = Thread.currentThread().executor.executable; mavenModuleSetBuild.addAction(new MavenAggregatedArtifactRecord(mavenModuleSetBuild));
This is blocking us from migrating to newer versions of Jenkins.