File tree Expand file tree Collapse file tree 3 files changed +27
-3
lines changed
Expand file tree Collapse file tree 3 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,15 @@ pipeline {
103103 stage("${TEST_SLUG}") {
104104 catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
105105 if ("${TEST_SLUG}" == 'docker build'){
106- sh "./build_openroad.sh --no_init";
106+ retry(3) {
107+ try {
108+ sh "./build_openroad.sh --no_init";
109+ }
110+ catch (e) {
111+ sleep(60);
112+ sh 'exit 1';
113+ }
114+ }
107115 sh "docker run --rm openroad/flow-centos7-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
108116 } else {
109117 sh 'nice flow/test/test_helper.sh ${TEST_SLUG}';
Original file line number Diff line number Diff line change @@ -80,7 +80,15 @@ pipeline {
8080 stage("${TEST_SLUG}") {
8181 catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
8282 if ("${TEST_SLUG}" == 'docker build'){
83- sh "./build_openroad.sh";
83+ retry(3) {
84+ try {
85+ sh "./build_openroad.sh --no_init";
86+ }
87+ catch (e) {
88+ sleep(60);
89+ sh 'exit 1';
90+ }
91+ }
8492 sh "docker run --rm openroad/flow-centos7-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
8593 } else {
8694 sh 'nice flow/test/test_helper.sh ${TEST_SLUG}';
Original file line number Diff line number Diff line change @@ -76,7 +76,15 @@ pipeline {
7676 stage("${TEST_SLUG}") {
7777 catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
7878 if ("${TEST_SLUG}" == 'docker build'){
79- sh "./build_openroad.sh";
79+ retry(3) {
80+ try {
81+ sh "./build_openroad.sh --no_init";
82+ }
83+ catch (e) {
84+ sleep(60);
85+ sh 'exit 1';
86+ }
87+ }
8088 sh "docker run --rm openroad/flow-centos7-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
8189 } else {
8290 sh 'nice flow/test/test_helper.sh ${TEST_SLUG}';
You can’t perform that action at this time.
0 commit comments