Skip to content

Commit

Permalink
#1246: remove all calls to rm -Rf at end of build steps (and merge tw…
Browse files Browse the repository at this point in the history
…o calls to rm -Rf into one on mac)
  • Loading branch information
dyaandys committed Jul 11, 2024
1 parent 0978c51 commit d3d2bfb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ pipeline {
stash name: 'ride-win', includes: '_/ride*/Ride-*-win32-ia32/**'
stash name: 'ride-linux', includes: '_/ride*/Ride-*-linux*/**'
stash name: 'ride-version', includes: '_/version, _/version.js'
sh 'rm -Rf _'
}
}
stage ('Packaging') {
Expand All @@ -39,7 +38,6 @@ pipeline {
unstash 'ride-version'
sh './CI/packagescripts/linux/packageLinux.sh'
stash name: 'linux-ship', includes: 'ship/*'
sh 'rm -Rf _ ship'
}
}
stage ('Mac Build and Packaging') {
Expand All @@ -55,7 +53,6 @@ pipeline {
}
stash name: 'ride-mac', includes: '_/ride*/Ride-*-darwin*/**'
stash name: 'mac-ship', includes: 'ship/*'
sh 'rm -Rf _ ship'
}
}
stage ('Windows Packaging') {
Expand Down Expand Up @@ -85,8 +82,7 @@ pipeline {
label 'notarytool'
}
steps {
sh 'rm -Rf ship'
sh 'rm -Rf _'
sh 'rm -Rf _ ship'
unstash 'ride-version'
unstash 'mac-ship'
withCredentials([usernamePassword(credentialsId: '868dda6c-aaec-4ee4-845a-57362dec695b', passwordVariable: 'APPLE_APP_PASS', usernameVariable: 'APPLE_ID')]) {
Expand Down Expand Up @@ -118,7 +114,6 @@ pipeline {
unstash 'mac-ship-notarised'
unstash 'win-ship'
sh './CI/copyinstallers.sh'
sh 'rm -Rf _ ship'
}
when {
not {
Expand All @@ -144,7 +139,6 @@ pipeline {
unstash 'mac-ship'
unstash 'win-ship'
sh './CI/GH-Release.sh'
sh 'rm -Rf _ ship'
}
when {
not {
Expand Down

0 comments on commit d3d2bfb

Please sign in to comment.