Parameterize the Jenkinsfile

This commit is contained in:
Kris Lamoureux 2020-09-15 20:13:08 -04:00
parent b226774457
commit 5daeae54cd
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

10
Jenkinsfile vendored
View File

@ -5,13 +5,13 @@ pipeline {
steps { steps {
dir ('environments') { dir ('environments') {
git credentialsId: 'b643c25a-d040-4692-8067-d82511509bd0', git branch: "${env.BRANCH}",
url: 'git@github.com:krislamo/moxie-env.git' credentialsId: "${env.AUTHID}",
url: "${env.URL}"
} }
ansiblePlaybook credentialsId: '4e3a5a7a-fca5-4f10-89a4-8996cf14fec7', ansiblePlaybook playbook: "${env.PLAYBOOK}",
playbook: 'dockerbox.yml' inventory: "${env.INVENTORY}"
} }
} }
} }