We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e07cc7 + ec2fc68 commit 10ae116Copy full SHA for 10ae116
1 file changed
Jenkinsfile
@@ -264,7 +264,13 @@ def bazelTest = {
264
if (env.BRANCH_NAME != 'master') {
265
cmd += ' --remote_upload_local_results=false';
266
}
267
- sh label: 'Bazel Build', script: cmd + ' --google_credentials=$GCS_SA_KEY ...';
+ cmd += ' --google_credentials=$GCS_SA_KEY';
268
+ try {
269
+ sh label: 'Bazel Build', script: cmd + ' ...';
270
+ } catch (e) {
271
+ currentBuild.result = 'FAILURE';
272
+ sh label: 'Bazel Build (keep_going)', script: cmd + ' --keep_going ...';
273
+ }
274
275
276
0 commit comments