diff --git a/Jenkinsfile b/Jenkinsfile index 6b65939..5181fb6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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." - } } }