diff --git a/Jenkinsfile b/Jenkinsfile index 109e3f0..12068df 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } }