From 2dfe0e8ef8b91c4b30c9c53257f12beff2513a03 Mon Sep 17 00:00:00 2001 From: proletarius101 Date: Fri, 8 Jul 2022 17:12:22 +0800 Subject: [PATCH] fix sast report detection in UI --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dcaf6ca14e..1c4ba2404d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -407,9 +407,9 @@ sast: # Make sure the apk is searched before the manifest, so only apks are scanned ANALYZER_TARGET_DIR: $CI_PROJECT_DIR/tmp/ allow_failure: true - artifacts: - reports: - sast: $ANALYZER_TARGET_DIR/gl-sast-report.json + after_script: + # GitLab can only display reports at this exact path + - mv $ANALYZER_TARGET_DIR/gl-sast-report.json gl-sast-report.json mobsf-ios-sast: rules: