Slight Jenkinsfile formatting change

This commit is contained in:
Kris Lamoureux 2020-09-17 01:19:45 -04:00
parent 816de59027
commit 5a4e327046
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

4
Jenkinsfile vendored
View File

@ -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."
} }
} }
} }