daily
SLW\ARNAUA 2023-04-26 09:59:21 +02:00
parent 1c5c799fc2
commit 31f3a036f5
1 changed files with 11 additions and 11 deletions

22
Jenkinsfile vendored
View File

@ -72,24 +72,24 @@ pipeline {
stages { stages {
stage('Fetch Repository') { stage('Fetch Repository') {
steps { steps {
parallel 'Checkout Repository': { dir("/opt/workspace/qm_report/") {
dir("/opt/workspace/qm_report/") { git branch: "main", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/qm_report.git"
git branch: "main", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/qm_report.git"
}
} }
} }
} }
stage('Install Required Python Packages') { stage('Install Required Python Packages') {
steps { steps {
retry(3) { dir("/opt/workspace/qm_report/") {
sleep(300*installRetryCount) retry(3) {
script { sleep(300*installRetryCount)
installRetryCount = installRetryCount+1 script {
installRetryCount = installRetryCount+1
}
sh '''
pip3 install --user -r requirements.txt
'''
} }
sh '''
pip3 install --user -r requirements.txt
'''
} }
} }
} }