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
No related branches found
No related tags found
No related merge requests found
variables:
RUN_FLAWFINDER: "flawfinder --falsepositive -m 5"
RUN_FLAWFINDER: "flawfinder --falsepositive -m 4"
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"
SOURCE_FOLDER: "src"
......@@ -9,7 +9,7 @@ variables:
run_static_code_analysis:
image: ${COMMON_IMAGE}
stage: static_code_analysis
allow_failure: false
allow_failure: true
script:
- "${RUN_FLAWFINDER} ${SOURCE_FOLDER}"
- "${RUN_CPPCHECK} ${SOURCE_FOLDER}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment