Slight Jenkinsfile formatting change
This commit is contained in:
parent
816de59027
commit
5a4e327046
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,15 +1,14 @@
|
||||
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}"
|
||||
}
|
||||
@ -20,7 +19,6 @@ pipeline {
|
||||
mail to: "${env.EMAIL}",
|
||||
subject: "$JOB_NAME - Build # $BUILD_NUMBER - ${currentBuild.result}!",
|
||||
body: "Check console output at $BUILD_URL to view the results."
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user