Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
corpulent committed Sep 3, 2024
1 parent 834c225 commit 4cb3594
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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; }'
- >
Expand All @@ -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:
Expand Down

0 comments on commit 4cb3594

Please sign in to comment.