2020-04-03 00:03:40 +00:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
|
|
|
|
dir ('environments') {
|
2020-09-16 00:13:08 +00:00
|
|
|
git branch: "${env.BRANCH}",
|
|
|
|
credentialsId: "${env.AUTHID}",
|
|
|
|
url: "${env.URL}"
|
2020-04-03 00:03:40 +00:00
|
|
|
}
|
|
|
|
|
2020-09-16 00:13:08 +00:00
|
|
|
ansiblePlaybook playbook: "${env.PLAYBOOK}",
|
|
|
|
inventory: "${env.INVENTORY}"
|
2020-04-03 00:03:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|