Skip to content

Commit

Permalink
#1246: restore first rm -Rfs but remove those in packaging stage
Browse files Browse the repository at this point in the history
  • Loading branch information
dyaandys committed Jul 12, 2024
1 parent 29c7634 commit 557d90a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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 @@ -38,7 +39,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 @@ -54,7 +54,6 @@ pipeline {
}
stash name: 'ride-mac', includes: '_/ride*/Ride-*-darwin*/**'
stash name: 'mac-ship', includes: 'ship/*'
sh 'rm -Rf _ ship'
}
}
stage ('Windows Packaging') {
Expand All @@ -68,8 +67,6 @@ pipeline {
unstash 'ride-version'
bat './CI/packagescripts/windows/packageWindows.bat'
stash name: 'win-ship', includes: 'ship/*'
powershell 'remove-item ship -Recurse -Force'
powershell 'remove-item _ -Recurse -Force'
}
}
}
Expand Down

0 comments on commit 557d90a

Please sign in to comment.