homelab/Jenkinsfile

19 lines
432 B
Plaintext
Raw Normal View History

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-09-16 00:13:08 +00:00
ansiblePlaybook playbook: "${env.PLAYBOOK}",
inventory: "${env.INVENTORY}"
}
}
}
}