From 491c006305e815950563aa084b08ff5d1102a2ec Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Wed, 8 Mar 2023 07:56:05 +0100 Subject: [PATCH] modified --- Jenkinsfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d839deb..c9c2960 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,8 +57,8 @@ stages { stage('Checkout Repositories'){ steps { - sh "git branch: ${params.ABRANCH}, credentialsId: jaws_dynatrace_bitbuket_user, url: https://atc.bmwgroup.net/bitbucket/scm/opapm/shared_configuration.git" - sh "git branch: ${params.BBRANCH}, credentialsId: jaws_dynatrace_bitbuket_user, url: https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_terraform_config.git" + git branch: '${params.ABRANCH}', credentialsId: 'jaws_dynatrace_bitbuket_user', url: 'https://atc.bmwgroup.net/bitbucket/scm/opapm/shared_configuration.git' + git branch: '${params.BBRANCH}', credentialsId: 'jaws_dynatrace_bitbuket_user', url: 'https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_terraform_config.git' } } @@ -75,9 +75,8 @@ stage('Execute Script') { steps { - sh ''' - python3 generate.py ./shared_configuration/"${params.INPUTFOLDER}" - ''' + sh "python3 generate.py ./shared_configuration/${params.INPUTFOLDER}" + //Only required once CN is not reachable from EMEA //loopEnvironments(environments)