diff --git a/Jenkinsfile b/Jenkinsfile index 56b81af..374b7a9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,14 +56,17 @@ stages { stage('Checkout Repositories'){ - parallel 'Checkout Repositories': { - dir("/opt/workspace/") { - git branch: "${params.ABRANCH}", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/shared_configuration.git" - } - dir("/opt/workspace/") { - git branch: "${params.BBRANCH}", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_terraform_config.git" + steps { + parallel 'Checkout Repositories': { + dir("/opt/workspace/") { + git branch: "${params.ABRANCH}", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/shared_configuration.git" + } + dir("/opt/workspace/") { + git branch: "${params.BBRANCH}", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_terraform_config.git" + } } } + } stage('Install Required Python Packages') {