diff --git a/Jenkinsfile b/Jenkinsfile index 53e90c90..3ca8ad14 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,6 +15,12 @@ pipeline { sh 'mvn clean package' echo "Build is successful for ${env.BUILD_ID}" } + post { + success { + archiveArtifacts artifacts: 'target/*.war', fingerprint: true + } + } + } stage('Static Code Analysis') { environment {