Skip to content

Commit

Permalink
Change build target to package
Browse files Browse the repository at this point in the history
Avoids the verify maven goal which skips the OWASP checks.
OWASP is not featured in this example.
  • Loading branch information
bparry02 committed Jul 19, 2019
1 parent 7856ba6 commit 75866a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basic-spring-boot/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pipeline {
// Run Maven build, skipping tests
stage('Build'){
steps {
sh "mvn -B clean install -DskipTests=true -f ${POM_FILE}"
sh "mvn -B clean package -DskipTests=true -f ${POM_FILE}"
}
}

Expand Down

0 comments on commit 75866a3

Please sign in to comment.