no matching files
Hi guys, I am facing the following problem when I request this stage to check my files inside "terraform" folder. Any suggestions?
$ OPTIONS="${CONFIG_OPTION} ${FORMAT_OPTION} ${SEVERITY_OPTION} ${REGO_OPTION} ${OUTPUT_OPTION}"
$ FAILED=true
$ if tfsec {CI_PROJECT_DIR}/{TFSEC_CHECK_DIR} ${OPTIONS} ${ADDITIONAL_OPTIONS}; then
Error: failed to access provided path: stat /builds/rmarcandier13/tfsec-terraform-cicd/terraform: no such file or directory
$ if [[ "${TFSEC_FORMATS}" = "sarif" ]]; then
$ cp ${RESULT_FILE}.sarif.json ${CI_PROJECT_DIR}/reports
cp: can't stat '/builds/rmarcandier13/tfsec-terraform-cicd/artifacts/tfsec-result.sarif.json': No such file or directory
Uploading artifacts for failed job
00:01
Uploading artifacts...
/builds/rmarcandier13/tfsec-terraform-cicd/artifacts: found 1 matching artifact files and directories
Uploading artifacts as "archive" to coordinator... 201 Created id=3968361824 responseStatus=201 Created token=64_5cBxu
Uploading artifacts...
WARNING: /builds/rmarcandier13/tfsec-terraform-cicd/reports/junit.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/rmarcandier13/tfsec-terraform-cicd)
ERROR: No files to upload
Uploading artifacts...
WARNING: /builds/rmarcandier13/tfsec-terraform-cicd/reports/code-climate.json: no matching files. Ensure that the artifact path is relative to the working directory (/builds/rmarcandier13/tfsec-terraform-cicd)
ERROR: No files to upload
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1