mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
added java to maven commands
This commit is contained in:
parent
840f9c048e
commit
668069b502
1 changed files with 3 additions and 3 deletions
|
@ -8,18 +8,18 @@ pipeline{
|
||||||
stages{
|
stages{
|
||||||
stage("build"){
|
stage("build"){
|
||||||
steps{
|
steps{
|
||||||
sh 'mvn -Dmaven.test.failure.ignore=true compile'
|
sh 'java mvn -Dmaven.test.failure.ignore=true compile'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("test"){
|
stage("test"){
|
||||||
steps{
|
steps{
|
||||||
sh 'mvn -Dmaven.test.failure.ingore=true test'
|
sh 'java mvn -Dmaven.test.failure.ingore=true test'
|
||||||
junit 'target/surefire-reports/**/*.xml'
|
junit 'target/surefire-reports/**/*.xml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('package'){
|
stage('package'){
|
||||||
steps{
|
steps{
|
||||||
sh 'mvn -Dmaven.test.failure.ingore=true package'
|
sh 'java mvn -Dmaven.test.failure.ingore=true package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue