Added maven build to Jenkinsfile
This commit is contained in:
parent
c653935996
commit
e2d4c3278b
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -16,7 +16,12 @@ pipeline {
|
||||
|
||||
stage ('Build') {
|
||||
steps {
|
||||
echo 'This is a minimal pipeline.'
|
||||
sh 'mvn -Dmaven.test.failure.ignore=true install'
|
||||
}
|
||||
post {
|
||||
success {
|
||||
junit 'target/surefire-reports/**/*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user