From 76a933029934ec1b1e4f7742cce54c9527dcaf94 Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Thu, 9 Mar 2023 09:30:17 +0100 Subject: [PATCH] modified --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 75a5345..bbd896d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,8 +57,10 @@ stages { stage('Checkout Repositories'){ steps { - 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" + dir("/opt/workspace/") { + 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" + } } }