From eb605f3a986fc00ee85bb6a8b5c3c756aacedd54 Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Wed, 27 Jul 2016 11:47:29 -0400 Subject: [PATCH] Acquiring util in the pipeline --- Jenkinsfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 107421b..a1430b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,10 +9,14 @@ node { checkout scm stage 'Acquire util' - - git([ url: "https://github.internet2.edu/docker/util.git", + + sh 'mkdir bin' + dir('bin'){ + git([ url: "https://github.internet2.edu/docker/util.git", credentialsId: "jenkins-github-access-token" ]) - sh 'mv util/bin bin' + sh 'ls' + sh 'mv bin/* .' + } stage 'Base'