Skip to content

Commit 3bcd407

Browse files
Yakov Feldmanyakov-feldman
authored andcommitted
DHFPROD-7327: Create jenkins job for DHCCE Nightly regression
1 parent bbdcfbe commit 3bcd407

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,9 @@ pipeline{
963963

964964
stage('dhs-test') {
965965
agent { label 'dhfLinuxAgent' }
966-
steps { invokeDhsTestJob() }
966+
steps{timeout(time: 1, unit: 'HOURS'){
967+
catchError(buildResult: 'SUCCESS', catchInterruptions: true, stageResult: 'FAILURE') {invokeDhsTestJob()}
968+
}}
967969
post {
968970
failure {
969971
println("${STAGE_NAME} failed")
@@ -972,7 +974,9 @@ pipeline{
972974

973975
stage('dhcce-test') {
974976
agent { label 'dhfLinuxAgent' }
975-
steps { invokeDhcceTestJob() }
977+
steps{timeout(time: 1, unit: 'HOURS'){
978+
catchError(buildResult: 'SUCCESS', catchInterruptions: true, stageResult: 'FAILURE') {invokeDhcceTestJob()}
979+
}}
976980
post {
977981
failure {
978982
println("${STAGE_NAME} failed")

0 commit comments

Comments
 (0)