diff --git a/Jenkinsfile b/Jenkinsfile index 65bbe84..4a5050b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -72,24 +72,24 @@ pipeline { stages { stage('Fetch Repository') { steps { - parallel 'Checkout Repository': { - dir("/opt/workspace/qm_report/") { - git branch: "main", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/qm_report.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" } } } stage('Install Required Python Packages') { steps { - retry(3) { - sleep(300*installRetryCount) - script { - installRetryCount = installRetryCount+1 + dir("/opt/workspace/qm_report/") { + retry(3) { + sleep(300*installRetryCount) + script { + installRetryCount = installRetryCount+1 + } + sh ''' + pip3 install --user -r requirements.txt + ''' } - sh ''' - pip3 install --user -r requirements.txt - ''' } } }