1. 更新流水线配置

This commit is contained in:
黄昕 2024-03-21 11:06:34 +08:00
parent 5d210aa482
commit 835f26c25c
1 changed files with 14 additions and 0 deletions

View File

@ -40,6 +40,20 @@ integration-test:
dependencies:
- compile
security-test-job:
stage: test
tags:
- linux-maven
script:
- echo "do opensca scan..."
- /root/.config/opensca-cli/opensca-cli -path $CI_PROJECT_DIR -token glpat-8LV_ERinz1jsKFf9prg_ -out $CI_PROJECT_DIR/results/result.html,$CI_PROJECT_DIR/results/result.dsdx.json
artifacts:
paths:
- results/
untracked: false
when: on_success
expire_in: 30 days
# 代码质量检查
sonarqube-check :
stage : check