ci: coverity.yml: use env variables for clean and build commands
let's use BRIDGE_COVERITY_CLEAN_COMMAND and BRIDGE_COVERITY_BUILD_COMMAND as clean and build commands instead of defining them seperately in a yml file. Closes: PCF-2037 References: PCF-1795 Signed-off-by: Mouna Aloui <mouna.aloui@softathome.com>
This commit is contained in:
parent
80fb40e9a8
commit
5c1806bb78
@ -16,6 +16,7 @@ include:
|
||||
BRIDGE_COVERITY_CONNECT_USER_PASSWORD: $COVERITY_PASSPHRASE
|
||||
BRIDGE_GITLAB_USER_TOKEN: $GITLAB_API_KEY_EXTERNAL
|
||||
BRIDGE_COVERITY_LOCAL: true
|
||||
BRIDGE_COVERITY_CLEAN_COMMAND: make clean
|
||||
# INCLUDE_DIAGNOSTICS: 'true'
|
||||
rules:
|
||||
- if: ($CI_COMMIT_REF_NAME =~ $SCAN_BRANCHES && $CI_PIPELINE_SOURCE != 'merge_request_event')
|
||||
@ -23,6 +24,7 @@ include:
|
||||
BRIDGE_COVERITY_CONNECT_POLICY_VIEW: Outstanding Issues
|
||||
- if: ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME =~ $SCAN_BRANCHES && $CI_PIPELINE_SOURCE == 'merge_request_event')
|
||||
before_script:
|
||||
- export BRIDGE_COVERITY_BUILD_COMMAND="make -j $(nproc)"
|
||||
- apt-get -qq update && apt-get install -y curl file unzip
|
||||
- touch .build_failed
|
||||
- mkdir -p logs
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
capture:
|
||||
build:
|
||||
clean-command: make clean
|
||||
build-command: make -j16
|
||||
Loading…
Reference in New Issue
Block a user