From c4d09bba52f3ad9080c49b8a41071e051493cebf Mon Sep 17 00:00:00 2001 From: joe Date: Thu, 10 Aug 2017 13:37:51 -0600 Subject: [PATCH] back to main node --- joespipeline | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']) }