diff --git a/Jenkinsfile b/Jenkinsfile index a361d6f2c..ea9a3751a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,11 +18,11 @@ pipeline { sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH" && mvn package' } } - stage('postbuild') - { - archiveArtifacts artifacts: '**/target/spring-petclinic.war', - followSymlinks: false - junit '**/surefire-reports/TEST-*.xml' + stage('postbuild') { + steps { + archiveArtifacts artifacts: '**/target/spring-petclinic.war', + followSymlinks: false + junit '**/surefire-reports/TEST-*.xml' } } }