mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
30b9f5b20a
commit
c2bce7ee5c
1 changed files with 8 additions and 4 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -7,12 +7,16 @@ pipeline {
|
|||
checkout scm
|
||||
}
|
||||
}
|
||||
stage ('Initialaze') {
|
||||
stage ('Test maven') {
|
||||
steps {
|
||||
try {
|
||||
sh '''
|
||||
echo "PATH = ${PATH}"
|
||||
echo "M2_HOME = ${M2_HOME}"
|
||||
'''
|
||||
mvn --version
|
||||
mvn clean test serefire-report:report
|
||||
'''
|
||||
} catch(err) {
|
||||
sh "echo error Maven test"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
|
|
Loading…
Reference in a new issue