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 {
dir ('environments') {
git credentialsId: 'b643c25a-d040-4692-8067-d82511509bd0',
url: 'git@github.com:krislamo/moxie-env.git'
git branch: "${env.BRANCH}",
credentialsId: "${env.AUTHID}",
url: "${env.URL}"
}
ansiblePlaybook credentialsId: '4e3a5a7a-fca5-4f10-89a4-8996cf14fec7',
playbook: 'dockerbox.yml'
ansiblePlaybook playbook: "${env.PLAYBOOK}",
inventory: "${env.INVENTORY}"
}
}
}