From a2656fcc434ecc1f97cfe1d2ac6e15c6c4032990 Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Wed, 26 Apr 2023 14:50:51 +0200 Subject: [PATCH] added shared_configuration repository --- Jenkinsfile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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 {