X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=94847dcf9c527bcf09de210066e4d2e2601150e7;hb=49eefe0c81cdb13784f4636836f79b3016e40529;hp=8961184f278e86fbf6b7175bf8057656b4a4e315;hpb=29507d6c600e469e78bd2c481b742878b5fd4da4;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 8961184f..94847dcf 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -70,6 +70,15 @@ files: - file-id: "jenkins-log-archives-settings" variable: "SETTINGS_FILE" + - conditional-step: + condition-kind: regex-match + regex: "^.*logs-s3.*" + label: $S3_BUCKET + steps: + - config-file-provider: + files: + - file-id: "jenkins-s3-log-ship" + target: $HOME/.aws/credentials - lf-infra-create-netrc: server-id: logs - shell: !include-raw: