From 37269936eeae4c393a6145cbd6589da00c73893a Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Fri, 19 Aug 2016 16:23:20 -0400 Subject: [PATCH] Debug --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 051827a..365863c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,10 @@ node('packer') { stage 'Checkout' - checkout scm + sh 'mkdir -p packer-centos-7' + dir('packer-centos-7'){ + checkout scm + } stage 'Acquire ansible-playbooks' @@ -12,8 +15,8 @@ node('packer') { stage 'Validate' + sh 'cd ../packer-centos-7' sh 'pwd' - sh 'ls' - sh '/usr/local/bin/packer validate ./packer-centos-7/shibboleth-appliance-vbox.json' + sh '/usr/local/bin/packer validate shibboleth-appliance-vbox.json' }