From 5dac10f44423f2361c2017bd14b3eef0547ad484 Mon Sep 17 00:00:00 2001 From: joe Date: Thu, 17 Aug 2017 13:35:27 -0600 Subject: [PATCH] updated pipeline commands --- joespipeline | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/joespipeline b/joespipeline index c659ba26a..5ef199d6c 100644 --- a/joespipeline +++ b/joespipeline @@ -2,7 +2,7 @@ echo 'Hello from Pipeline Demo' stage 'Compile' node { git url: 'https://github.com/nachofree/spring-petclinic.git' - sh "/usr/bin/mvn -B compile" + sh "/usr/bin/mvn -B compile war:war" } stage 'Test' node{ @@ -12,3 +12,4 @@ echo 'Hello from Pipeline Demo' step([$class: 'ArtifactArchiver', artifacts: '**/target/*.war', fingerprint: true]) step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) } +