From: Houa Yang Date: Fri, 3 Apr 2020 17:04:16 +0000 (-0500) Subject: Fix aws credential file provider conditional X-Git-Tag: v0.53.0~9 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F63594%2F3;p=releng%2Fglobal-jjb.git Fix aws credential file provider conditional Add "on-evaluation-failure: dont-run" to conditional, so that if the global env variable is not set, the job will not fail. Issue-Id: RELENG-2749 Signed-off-by: Houa Yang Change-Id: I3a7d992bfd93853ffe910713c00380852868f20e --- diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 94847dcf..87c80a0b 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -74,6 +74,7 @@ condition-kind: regex-match regex: "^.*logs-s3.*" label: $S3_BUCKET + on-evaluation-failure: dont-run steps: - config-file-provider: files: diff --git a/releasenotes/notes/fix-aws-credential-file-provider-conditional-a2e8260058e46023.yaml b/releasenotes/notes/fix-aws-credential-file-provider-conditional-a2e8260058e46023.yaml new file mode 100644 index 00000000..0e38635d --- /dev/null +++ b/releasenotes/notes/fix-aws-credential-file-provider-conditional-a2e8260058e46023.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fix issue where job fails if the global variable S3_BUCKET is not set. + Set conditional parameter "on-evaluation-failure" to "dont-run".