Skip to content
Snippets Groups Projects
Commit 95baa687 authored by Suru Dissanaike's avatar Suru Dissanaike
Browse files

Update static-code-analysis.yml

parent 4ee91b45
Branches
Tags
No related merge requests found
variables: variables:
RUN_FLAWFINDER: "flawfinder --falsepositive -m 5" RUN_FLAWFINDER: "flawfinder --falsepositive -m 4"
RUN_CPPCHECK: "cppcheck --enable=all --check-config --error-exitcode=1" RUN_CPPCHECK: "cppcheck --enable=all --check-config --error-exitcode=1"
RUN_CPD: "/home/user/pmd-bin-6.19.0/bin/run.sh cpd --minimum-tokens 100 --language c --files" RUN_CPD: "/home/user/pmd-bin-6.19.0/bin/run.sh cpd --minimum-tokens 100 --language c --files"
SOURCE_FOLDER: "src" SOURCE_FOLDER: "src"
...@@ -9,7 +9,7 @@ variables: ...@@ -9,7 +9,7 @@ variables:
run_static_code_analysis: run_static_code_analysis:
image: ${COMMON_IMAGE} image: ${COMMON_IMAGE}
stage: static_code_analysis stage: static_code_analysis
allow_failure: false allow_failure: true
script: script:
- "${RUN_FLAWFINDER} ${SOURCE_FOLDER}" - "${RUN_FLAWFINDER} ${SOURCE_FOLDER}"
- "${RUN_CPPCHECK} ${SOURCE_FOLDER}" - "${RUN_CPPCHECK} ${SOURCE_FOLDER}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment