Loading templates/gitlab-ci-terraform.yml +3 −5 Original line number Diff line number Diff line Loading @@ -575,11 +575,9 @@ tf-tfsec: - cd "$TF_PROJECT_DIR" - mkdir -p reports script: - | if ! tfsec ${TRACE+--verbose} $TF_TFSEC_ARGS then tfsec --format junit --out "reports/tfsec.xml" $TF_TFSEC_ARGS fi - tfsec --format junit --out "reports/tfsec.xml" $TF_TFSEC_ARGS || true - tfsec --format json --out "reports/tfsec.json" $TF_TFSEC_ARGS || true - tfsec ${TRACE+--verbose} $TF_TFSEC_ARGS artifacts: name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" reports: Loading Loading
templates/gitlab-ci-terraform.yml +3 −5 Original line number Diff line number Diff line Loading @@ -575,11 +575,9 @@ tf-tfsec: - cd "$TF_PROJECT_DIR" - mkdir -p reports script: - | if ! tfsec ${TRACE+--verbose} $TF_TFSEC_ARGS then tfsec --format junit --out "reports/tfsec.xml" $TF_TFSEC_ARGS fi - tfsec --format junit --out "reports/tfsec.xml" $TF_TFSEC_ARGS || true - tfsec --format json --out "reports/tfsec.json" $TF_TFSEC_ARGS || true - tfsec ${TRACE+--verbose} $TF_TFSEC_ARGS artifacts: name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" reports: Loading