added retry method for 1st step
parent
8952d052f8
commit
b1f2efe5e8
|
|
@ -74,10 +74,22 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
parallel 'Checkout Repositories': {
|
parallel 'Checkout Repositories': {
|
||||||
dir("/opt/workspace/shared_configuration/") {
|
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/") {
|
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: 'rene.forstner@nttdata.com, ermis.wieger@nttdata.com, patryk.gudalewicz.bp@nttdata.com',
|
||||||
// to: '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: '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',
|
replyTo: 'coco-apm@bmw.de',
|
||||||
attachmentsPattern: '*.xlsx'
|
attachmentsPattern: '*.xlsx'
|
||||||
} catch ( mailExc ) {
|
} catch ( mailExc ) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue