diff --git a/joespipeline b/joespipeline index 27917dfc2..c659ba26a 100644 --- a/joespipeline +++ b/joespipeline @@ -5,9 +5,10 @@ echo 'Hello from Pipeline Demo' sh "/usr/bin/mvn -B compile" } stage 'Test' - node('TestServer') { + node{ git url: 'https://github.com/nachofree/spring-petclinic.git' sh "/usr/bin/mvn -B verify" step([$class: 'ArtifactArchiver', artifacts: '**/target/*.war', fingerprint: true]) + step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) }