From 4cb3594f8d537ab31b87906e8861a9cd2e125589 Mon Sep 17 00:00:00 2001 From: Artem Golub Date: Tue, 3 Sep 2024 06:42:32 -0500 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1b4155bfeb..99f3201836 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,6 +46,9 @@ download_reports: needs: - test image: python:3.12 + variables: + S3_BUCKET: infor-design-assets-downloads + S3_COVERAGE_DIR: oxford/${CI_JOB_ID}/coverage before_script: - 'command -v aws >/dev/null 2>&1 || { echo >&2 "Installing AWS CLI..."; pip install awscli; }' - > @@ -58,7 +61,7 @@ download_reports: --output text)) - aws configure set default.region $AWS_DEFAULT_REGION script: - - aws s3 cp s3://$S3_BUCKET/oxford/${CI_JOB_ID}/coverage/cobertura-coverage.xml coverage/cobertura-coverage.xml + - aws s3 cp s3://$S3_BUCKET/$S3_COVERAGE_DIR/cobertura-coverage.xml coverage/cobertura-coverage.xml artifacts: reports: coverage_report: