diff --git a/Jenkinsfile b/Jenkinsfile index 56669576b..8d355cfa7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,7 +43,14 @@ pipeline { } } - + stage('Upload Artifacts') { + when { + expression { currentBuild.result == null || currentBuild.result == 'SUCCESS' } + } + steps { + archiveArtifacts artifacts: 'target/*.jar', fingerprint: true + } + } }