mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
Merge pull request #24 from liatrio/LDOP-304
run mvn test from regression suite directory
This commit is contained in:
commit
1f22a6ae25
1 changed files with 4 additions and 8 deletions
|
@ -73,8 +73,7 @@ pipeline {
|
|||
}
|
||||
}
|
||||
steps {
|
||||
sh "cd regression-suite"
|
||||
sh "mvn clean -B test -DPETCLINIC_URL=http://petclinic-tomcat:8080/petclinic/"
|
||||
sh "cd regression-suite && mvn clean -B test -DPETCLINIC_URL=http://petclinic-tomcat:8080/petclinic/"
|
||||
}
|
||||
}
|
||||
stage('Stop local container') {
|
||||
|
@ -120,8 +119,7 @@ pipeline {
|
|||
}
|
||||
}
|
||||
steps {
|
||||
sh "cd regression-suite"
|
||||
sh "mvn clean -B test -DPETCLINIC_URL=https://dev-petclinic.liatr.io/petclinic"
|
||||
sh "cd regression-suite && mvn clean -B test -DPETCLINIC_URL=https://dev-petclinic.liatr.io/petclinic"
|
||||
echo "Should be accessible at https://dev-petclinic.liatr.io/petclinic"
|
||||
}
|
||||
}
|
||||
|
@ -145,8 +143,7 @@ pipeline {
|
|||
}
|
||||
}
|
||||
steps {
|
||||
sh "cd regression-suite"
|
||||
sh "mvn clean -B test -DPETCLINIC_URL=https://qa-petclinic.liatr.io/petclinic"
|
||||
sh "cd regression-suite && mvn clean -B test -DPETCLINIC_URL=https://qa-petclinic.liatr.io/petclinic"
|
||||
echo "Should be accessible at https://qa-petclinic.liatr.io/petclinic"
|
||||
input 'Deploy to Prod?'
|
||||
}
|
||||
|
@ -171,8 +168,7 @@ pipeline {
|
|||
}
|
||||
}
|
||||
steps {
|
||||
sh "cd regression-suite"
|
||||
sh "mvn clean -B test -DPETCLINIC_URL=https://petclinic.liatr.io/petclinic"
|
||||
sh "cd regression-suite && mvn clean -B test -DPETCLINIC_URL=https://petclinic.liatr.io/petclinic"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue