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)