update joespipeline

This commit is contained in:
joe 2017-08-09 17:58:02 -06:00
parent 1ddebc7fdc
commit cc21a072f2

View file

@ -1,12 +1,12 @@
echo 'Hello from Pipeline Demo' echo 'Hello from Pipeline Demo'
stage 'Compile' stage 'Compile'
node { node {
git url: 'https://github.com/mitesh51/spring-petclinic.git' git url: 'https://github.com/nachofree/spring-petclinic.git'
sh "/usr/bin/mvn -B compile" sh "/usr/bin/mvn -B compile"
} }
stage 'Test' stage 'Test'
node('TestServer') { node('TestServer') {
git url: 'https://github.com/mitesh51/spring-petclinic.git' git url: 'https://github.com/nachofree/spring-petclinic.git'
sh "/usr/bin/mvn -B verify" sh "/usr/bin/mvn -B verify"
step([$class: 'ArtifactArchiver', artifacts: '**/target/*.war', fingerprint: true]) step([$class: 'ArtifactArchiver', artifacts: '**/target/*.war', fingerprint: true])