Parameterize the Jenkinsfile
This commit is contained in:
parent
b226774457
commit
5daeae54cd
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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}"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user