Slight Jenkinsfile formatting change
This commit is contained in:
parent
816de59027
commit
5a4e327046
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,15 +1,14 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
|
|
||||||
dir ('environments') {
|
dir ('environments') {
|
||||||
git branch: "${env.BRANCH}",
|
git branch: "${env.BRANCH}",
|
||||||
credentialsId: "${env.AUTHID}",
|
credentialsId: "${env.AUTHID}",
|
||||||
url: "${env.URL}"
|
url: "${env.URL}"
|
||||||
}
|
}
|
||||||
|
|
||||||
ansiblePlaybook playbook: "${env.PLAYBOOK}",
|
ansiblePlaybook playbook: "${env.PLAYBOOK}",
|
||||||
inventory: "${env.INVENTORY}"
|
inventory: "${env.INVENTORY}"
|
||||||
}
|
}
|
||||||
@ -20,7 +19,6 @@ pipeline {
|
|||||||
mail to: "${env.EMAIL}",
|
mail to: "${env.EMAIL}",
|
||||||
subject: "$JOB_NAME - Build # $BUILD_NUMBER - ${currentBuild.result}!",
|
subject: "$JOB_NAME - Build # $BUILD_NUMBER - ${currentBuild.result}!",
|
||||||
body: "Check console output at $BUILD_URL to view the results."
|
body: "Check console output at $BUILD_URL to view the results."
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user