diff --git a/Jenkinsfile b/Jenkinsfile index 94c8618..009d448 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -70,10 +70,15 @@ def reportRetryCount = 0 } stages { - stage('Fetch Repository') { + stage('Fetch Repositories') { steps { - dir("/opt/workspace/qm_report/") { - git branch: "main", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/qm_report.git" + parallel 'Checkout Repositories': { + dir("/opt/workspace/shared_configuration/") { + git branch: "master", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/shared_configuration.git" + } + dir("/opt/workspace/qm_report/") { + git branch: "main", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/qm_report.git" + } } } } @@ -146,7 +151,7 @@ def reportRetryCount = 0 } } - stage('Send report') { + stage('Send Report') { steps { script { try {