From c78aa85ae826bec627a9346154ab5d3979337b2c Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Fri, 19 Aug 2016 16:08:33 -0400 Subject: [PATCH] Adjust pipeline. --- Jenkinsfile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 795b46b..7dab0cd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,23 +4,17 @@ node('packer') { stage 'Acquire ansible-playbooks' - sh 'mkdir -p ansible-playbooks' - dir('ansible-playbooks'){ - git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git", + git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git", credentialsId: "jenkins-github-access-token" ]) - } - sh 'pwd' - sh 'ls' + sh 'pwd' + sh 'ls' stage 'Checkout' // Get the packer-centos-7 repo - sh 'mkdir -p packer-centos-7' - dir('packer-centos-7'){ - checkout scm - } + checkout scm sh 'pwd' sh 'ls'