modified
parent
1c5c799fc2
commit
31f3a036f5
|
|
@ -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
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue