-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Cent OS 5.5, Java 1.6.0_26, Maven 3.0.3, Jenkins 1.418 and 1.421
After upgrading vom Jenkins 1.415 to 1.418 we have problems with archiving maven artifacts which were created by maven-assembly-plugin. Our delivery module produces a tar.gz file with the maven-assembly-plugin with <finalName>${env.JOB_NAME}${env.BUILD_ID}${env.BUILD_NUMBER}</finalName> as filename format (e.g. nightly_1.1.2_2011-07-28_23-01-28_31.tar.gz).
When Jenkins archives this file it is renamed to <artifactId>-<version>.tar.gz (e.g. xxx.delivery.tar-1.1.2-SNAPSHOT.tar.gz). Jenkins 1.415 has kept the original name from the assembly plugin.
We use the archived files for deployment and releases. Now I have to which build (number) created that file and when was the build executed to rename the file.
I've looked at the changeset between Jenkins 1.415 and 1.418, but I haven't found any relevant change in the maven-plugin directory. Jenkins 1.421 is also affected.
Jenkins Log (last two lines):
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ xxx.delivery.tar --- [INFO] Installing /home/artifacts/hudson/jobs/nightly_1.1.2/workspace/xxx/delivery/tar/pom.xml to /home/artifacts/hudson/jobs/nightly_1.1.2/workspace/.repository/de/mms_dresden/xxx/xxx.delivery.tar/1.1.2-SNAPSHOT/xxx.delivery.tar-1.1.2-SNAPSHOT.pom [INFO] Installing /home/artifacts/hudson/jobs/nightly_1.1.2/workspace/xxx/delivery/tar/target/nightly_1.1.2_2011-07-28_23-01-28_31.tar.gz to /home/artifacts/hudson/jobs/nightly_1.1.2/workspace/.repository/de/mms_dresden/xxx/xxx.delivery.tar/1.1.2-SNAPSHOT/xxx.delivery.tar-1.1.2-SNAPSHOT.tar.gz projectSucceeded de.mms_dresden.xxx:xxx.delivery.tar:1.1.2-SNAPSHOT [JENKINS] Archiving /home/artifacts/hudson/jobs/nightly_1.1.2/workspace/xxx/delivery/tar/pom.xml to /home/artifacts/hudson/jobs/nightly_1.1.2/modules/de.mms_dresden.xxx$xxx.delivery.tar/builds/2011-07-28_23-06-49/archive/de.mms_dresden.xxx/xxx.delivery.tar/1.1.2-SNAPSHOT/xxx.delivery.tar-1.1.2-SNAPSHOT.pom [JENKINS] Archiving /home/artifacts/hudson/jobs/nightly_1.1.2/workspace/xxx/delivery/tar/target/nightly_1.1.2_2011-07-28_23-01-28_31.tar.gz to /home/artifacts/hudson/jobs/nightly_1.1.2/modules/de.mms_dresden.xxx$xxx.delivery.tar/builds/2011-07-28_23-06-49/archive/de.mms_dresden.xxx/xxx.delivery.tar/1.1.2-SNAPSHOT/xxx.delivery.tar-1.1.2-SNAPSHOT.tar.gz
- duplicates
-
JENKINS-9466 Provide maven build.finalName in the downloadable artifacts name
- Open