Merge pull request #24 from liatrio/LDOP-304

run mvn test from regression suite directory
This commit is contained in:
Benjamin Stein 2017-09-19 13:35:04 -07:00 committed by GitHub
commit 1f22a6ae25

View file

@ -73,8 +73,7 @@ pipeline {
} }
} }
steps { steps {
sh "cd regression-suite" sh "cd regression-suite && mvn clean -B test -DPETCLINIC_URL=http://petclinic-tomcat:8080/petclinic/"
sh "mvn clean -B test -DPETCLINIC_URL=http://petclinic-tomcat:8080/petclinic/"
} }
} }
stage('Stop local container') { stage('Stop local container') {
@ -120,8 +119,7 @@ pipeline {
} }
} }
steps { steps {
sh "cd regression-suite" sh "cd regression-suite && mvn clean -B test -DPETCLINIC_URL=https://dev-petclinic.liatr.io/petclinic"
sh "mvn clean -B test -DPETCLINIC_URL=https://dev-petclinic.liatr.io/petclinic"
echo "Should be accessible at https://dev-petclinic.liatr.io/petclinic" echo "Should be accessible at https://dev-petclinic.liatr.io/petclinic"
} }
} }
@ -145,8 +143,7 @@ pipeline {
} }
} }
steps { steps {
sh "cd regression-suite" sh "cd regression-suite && mvn clean -B test -DPETCLINIC_URL=https://qa-petclinic.liatr.io/petclinic"
sh "mvn clean -B test -DPETCLINIC_URL=https://qa-petclinic.liatr.io/petclinic"
echo "Should be accessible at https://qa-petclinic.liatr.io/petclinic" echo "Should be accessible at https://qa-petclinic.liatr.io/petclinic"
input 'Deploy to Prod?' input 'Deploy to Prod?'
} }
@ -171,8 +168,7 @@ pipeline {
} }
} }
steps { steps {
sh "cd regression-suite" sh "cd regression-suite && mvn clean -B test -DPETCLINIC_URL=https://petclinic.liatr.io/petclinic"
sh "mvn clean -B test -DPETCLINIC_URL=https://petclinic.liatr.io/petclinic"
} }
} }
} }