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