Skip to content

Commit

Permalink
Setup for dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Packard committed Aug 19, 2016
1 parent 00438ac commit 5820a54
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@ node('packer') {

stage 'Acquire ansible-playbooks'

sh 'mkdir -p ansible-playbooks'
dir('ansible-playbooks'){
git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git",
credentialsId: "jenkins-github-access-token" ])
}

stage 'Acquire packer-centos-7'

stage 'Validate'
sh 'mkdir -p packer-centos-7'
dir('packer-centos-7'){
git([ url: "https://github.internet2.edu/docker/packer-centos-7.git",
credentialsId: "jenkins-github-access-token" ])
}

sh '/usr/local/bin/packer validate shibboleth-appliance-vbox.json'
stage 'Validate'

sh '/usr/local/bin/packer validate packer-centos-7/shibboleth-appliance-vbox.json'

}

0 comments on commit 5820a54

Please sign in to comment.