I’ve got a simple dependency_scan job using npm install/audit following the instructions here -
`include:
- template: Jobs/Dependency-Scanning.gitlab-ci.yml
dependency_scan:
stage: test
script:
- npm install
artifacts:
reports:
dependency_scanning: gl-dependency-scanning-report.json
allow_failure: true`
It’s not writing to the json file and it’s outputting seemingly quite popular warning -
Uploading artifacts... gl-dependency-scanning-report.json: found 1 matching artifact files and directories WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/6951641315/artifacts?artifact_format=raw&artifact_type=dependency_scanning new-url=https://gitlab.com WARNING: Retrying... context=artifacts-uploader error=request redirected Uploading artifacts as "dependency_scanning" to coordinator... 201 Created id=6951641315 responseStatus=201 Created token=glcbt-65 Cleaning up project directory and file based variables
Is it not possible to do this, and, how do I avoid these warnings?
Versions GitLab Enterprise Edition 17.1.0-pre fe0a1083c72