Skip to content

Commit

Permalink
Adding product version and fingerprints (#52)
Browse files Browse the repository at this point in the history
* Rename product files to include the version

Signed-off-by: Patrick Reinhart <[email protected]>

* Adds fingerprints to archived artifacts

Signed-off-by: Patrick Reinhart <[email protected]>

---------

Signed-off-by: Patrick Reinhart <[email protected]>
  • Loading branch information
reinhapa authored Nov 6, 2023
1 parent 99a7ead commit 772d7a8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,16 @@ pipeline {
post {
always {
junit '**/target/surefire-reports/TEST-*.xml'
archiveArtifacts artifacts: 'target/products/org.openjdk.jmc-*', followSymlinks: false
dir('target/products') {
sh "mv -f org.openjdk.jmc-linux.gtk.aarch64.tar.gz org.openjdk.jmc-${jmcVersion}-linux.gtk.aarch64.tar.gz"
sh "mv -f org.openjdk.jmc-linux.gtk.x86_64.tar.gz org.openjdk.jmc-${jmcVersion}-linux.gtk.x86_64.tar.gz"
sh "mv -f org.openjdk.jmc-macosx.cocoa.aarch64.tar.gz org.openjdk.jmc-${jmcVersion}-macosx.cocoa.aarch64.tar.gz"
sh "mv -f org.openjdk.jmc-macosx.cocoa.x86_64.tar.gz org.openjdk.jmc-${jmcVersion}-macosx.cocoa.x86_64.tar.gz"
sh "mv -f org.openjdk.jmc-win32.win32.x86_64.zip org.openjdk.jmc-${jmcVersion}-win32.win32.x86_64.zip"
}
archiveArtifacts artifacts: 'agent/target/agent-*', fingerprint: true
archiveArtifacts artifacts: 'application/org.openjdk.jmc.updatesite.ide/target/*.zip', fingerprint: true
archiveArtifacts artifacts: 'target/products/org.openjdk.jmc-*', fingerprint: true
}
// send a mail on unsuccessful and fixed builds
unsuccessful { // means unstable || failure || aborted
Expand Down

0 comments on commit 772d7a8

Please sign in to comment.