1. 更新安全扫描执行条件
This commit is contained in:
parent
60b69e4e23
commit
f9c8d505b4
|
@ -11,6 +11,8 @@ security-scan:
|
||||||
stage: scan
|
stage: scan
|
||||||
tags:
|
tags:
|
||||||
- linux-maven
|
- linux-maven
|
||||||
|
only:
|
||||||
|
- master
|
||||||
script:
|
script:
|
||||||
- echo "=============== 开始安全扫描任务 ==============="
|
- echo "=============== 开始安全扫描任务 ==============="
|
||||||
- $OPENSCA_CLI -path $CI_PROJECT_DIR -token $OPENSCA_TOKEN -proj "" -out $CI_PROJECT_DIR/results/result.html,$CI_PROJECT_DIR/results/result.dsdx.json
|
- $OPENSCA_CLI -path $CI_PROJECT_DIR -token $OPENSCA_TOKEN -proj "" -out $CI_PROJECT_DIR/results/result.html,$CI_PROJECT_DIR/results/result.dsdx.json
|
||||||
|
|
Loading…
Reference in New Issue