From 5daeae54cdc4b31304f2817eca09ad6faa7434ba Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Tue, 15 Sep 2020 20:13:08 -0400 Subject: [PATCH] Parameterize the Jenkinsfile --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fbd6b5b..8a36b3b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,13 +5,13 @@ pipeline { steps { dir ('environments') { - git credentialsId: 'b643c25a-d040-4692-8067-d82511509bd0', - url: 'git@github.com:krislamo/moxie-env.git' + git branch: "${env.BRANCH}", + credentialsId: "${env.AUTHID}", + url: "${env.URL}" } - ansiblePlaybook credentialsId: '4e3a5a7a-fca5-4f10-89a4-8996cf14fec7', - playbook: 'dockerbox.yml' - + ansiblePlaybook playbook: "${env.PLAYBOOK}", + inventory: "${env.INVENTORY}" } } }