-
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));
[JENKINS-14590] Redeploy Artifacts button no longer appears on main build page of multi-module builds, requiring individual reployment of modules
Description |
Original:
Formerly you could redeploy all artifacts of a build with one click, now you need to redeploy each module separately. In multi-module projects this is impossible. |
New:
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: {code} <hudson.maven.reporters.MavenAggregatedArtifactRecord> <records/> <parent reference="../../.."/ </hudson.maven.reporters.MavenAggregatedArtifactRecord> {code} 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 |
Environment | Original: 1.472 | New: 1.461 and Above |
Summary | Original: Redeploy Artifacts needs to executed for each module when it used redeploy all modules | New: Redeploy Artifacts button no longer appears on main build page of multi-module builds, requiring individual reployment of modules |
Description |
Original:
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: {code} <hudson.maven.reporters.MavenAggregatedArtifactRecord> <records/> <parent reference="../../.."/ </hudson.maven.reporters.MavenAggregatedArtifactRecord> {code} 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 |
New:
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: {code} <hudson.maven.reporters.MavenAggregatedArtifactRecord> <records/> <parent reference="../../.."/ </hudson.maven.reporters.MavenAggregatedArtifactRecord> {code} 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 h4. Workaround Using a post build groovy step similar to the code below: {code} def mavenModuleSetBuild = Thread.currentThread().executor.executable; mavenModuleSetBuild.addAction(new MavenAggregatedArtifactRecord(mavenModuleSetBuild)); {code} |
Workflow | Original: JNJira [ 145275 ] | New: JNJira + In-Review [ 176303 ] |
This is blocking us from migrating to newer versions of Jenkins.