Loading templates/gitlab-ci-angular.yml +4 −4 Original line number Diff line number Diff line Loading @@ -817,8 +817,7 @@ ng-audit: npm audit --json $NG_AUDIT_ARGS > reports/ng-audit.native.json || true fi # last run with console output - npm audit $NG_AUDIT_ARGS > reports/ng-audit.txt - cat reports/ng-audit.txt - npm audit $NG_AUDIT_ARGS | tee reports/ng-audit.txt artifacts: when: always name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" Loading @@ -839,14 +838,15 @@ ng-outdated: stage: test needs: [] script: # JSON (for DefectDojo) - | mkdir -p -m 777 reports if [[ "$DEFECTDOJO_NPMAUDIT_REPORTS" ]] then npm outdated --json $NG_OUTDATED_ARGS > reports/ng-outdated.native.json || true fi - npm outdated $NG_OUTDATED_ARGS > reports/ng-outdated.txt - cat reports/ng-outdated.txt # last run with console output - npm outdated $NG_OUTDATED_ARGS | tee reports/ng-outdated.txt artifacts: when: always name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" Loading Loading
templates/gitlab-ci-angular.yml +4 −4 Original line number Diff line number Diff line Loading @@ -817,8 +817,7 @@ ng-audit: npm audit --json $NG_AUDIT_ARGS > reports/ng-audit.native.json || true fi # last run with console output - npm audit $NG_AUDIT_ARGS > reports/ng-audit.txt - cat reports/ng-audit.txt - npm audit $NG_AUDIT_ARGS | tee reports/ng-audit.txt artifacts: when: always name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" Loading @@ -839,14 +838,15 @@ ng-outdated: stage: test needs: [] script: # JSON (for DefectDojo) - | mkdir -p -m 777 reports if [[ "$DEFECTDOJO_NPMAUDIT_REPORTS" ]] then npm outdated --json $NG_OUTDATED_ARGS > reports/ng-outdated.native.json || true fi - npm outdated $NG_OUTDATED_ARGS > reports/ng-outdated.txt - cat reports/ng-outdated.txt # last run with console output - npm outdated $NG_OUTDATED_ARGS | tee reports/ng-outdated.txt artifacts: when: always name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" Loading