19 lines
432 B
Groovy
19 lines
432 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
|
|
dir ('environments') {
|
|
git branch: "${env.BRANCH}",
|
|
credentialsId: "${env.AUTHID}",
|
|
url: "${env.URL}"
|
|
}
|
|
|
|
ansiblePlaybook playbook: "${env.PLAYBOOK}",
|
|
inventory: "${env.INVENTORY}"
|
|
}
|
|
}
|
|
}
|
|
}
|