Jenkinsfile: Fix the "Deploy" stage setting the build result to success when matching files are not found
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
5fc16d7d41
commit
9d64f53728
|
@ -78,7 +78,7 @@ pipeline {
|
|||
steps {
|
||||
echo 'Deploying....'
|
||||
archiveArtifacts artifacts: 'cmake-build-*/*.deb, cmake-build-*/*.rpm, cmake-build-*/*.tar.gz, cmake-build-*/*.sh, cmake-build-*/*.js', fingerprint: false
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
|
||||
catchError(buildResult: currentBuild.result, stageResult: 'SUCCESS') {
|
||||
archiveArtifacts artifacts: 'cmake-build-*/*Windows.*.exe, cmake-build-*/*.zip'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue