diff --git a/Jenkinsfile b/Jenkinsfile index 2d8aeba..b46fdc3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,14 @@ pipeline{ agent any steps{ sh 'mvn compile' - } + } + post { + success { + echo "Now Archiving." + archiveArtifacts artifacts: '**/*.war' + } + } + } stage('Code Quality'){ agent any