added retry method for 1st step
parent
8952d052f8
commit
b1f2efe5e8
|
|
@ -74,10 +74,22 @@ pipeline {
|
|||
steps {
|
||||
parallel 'Checkout Repositories': {
|
||||
dir("/opt/workspace/shared_configuration/") {
|
||||
git branch: "master", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/shared_configuration.git"
|
||||
retry(3) {
|
||||
sleep(300*checkRetryCount)
|
||||
script {
|
||||
checkRetryCount = checkRetryCount + 1
|
||||
}
|
||||
git branch: "master", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/shared_configuration.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"
|
||||
retry(3) {
|
||||
sleep(300*checkRetryCountSec)
|
||||
script {
|
||||
checkRetryCountSec = checkRetryCountSec + 1
|
||||
}
|
||||
git branch: "main", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/qm_report.git"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -176,7 +188,8 @@ pipeline {
|
|||
// to: 'rene.forstner@nttdata.com, ermis.wieger@nttdata.com, patryk.gudalewicz.bp@nttdata.com',
|
||||
// to: 'patryk.gudalewicz.bp@nttdata.com',
|
||||
// to: 'rene.forstner@nttdata.com, ermis.wieger@nttdata.com, arnel.arnautovic@nttdata.com, patryk.gudalewicz.bp@nttdata.com, stephan.oertelt@bmw.de, Mohammed.Abadel@bmw.de, michaela.jaeger@bmw.de, OOC-Support@bmwgroup.com, Andreas.DB.Danzer@bmwgroup.com',
|
||||
to: 'Andreas.DB.Danzer@bmwgroup.com, Arnel.Arnautovic@nttdata.com, Ermis.Wieger@nttdata.com',
|
||||
// to: 'Andreas.DB.Danzer@bmwgroup.com, Arnel.Arnautovic@nttdata.com, Ermis.Wieger@nttdata.com',
|
||||
to: 'Arnel.Arnautovic@nttdata.com'
|
||||
replyTo: 'coco-apm@bmw.de',
|
||||
attachmentsPattern: '*.xlsx'
|
||||
} catch ( mailExc ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue