Skip to content
Snippets Groups Projects
Commit a58d64de authored by Raul Barreras's avatar Raul Barreras
Browse files

Update .gitlab-ci.yml

parent 0c137c74
No related branches found
No related tags found
1 merge request!33Resolve "Integrate dependency-check container with Sonarqube"
This commit is part of merge request !33. Comments created here will be created in the context of that merge request.
......@@ -58,10 +58,13 @@ Test Dependency Checker sonar-scanner:
policy: pull
paths:
- t/dependency-check/simple-app/dependency_check_results/
variables:
DEPENDENCY_CHECK_OUT_DIR: t/dependency-check/simple-app/dependency_check_results/
SRC_DIR: t/dependency-check/simple-app/
tags:
- docker
script:
- sonar-scanner -v
- sonar-scanner -Dsonar.host.url=$SONAR_URL -Dsonar.projectKey=$CI_PROJECT_PATH_SLUG -Dsonar.sources=$SRC_DIR -Dsonar.login=$SONAR_TOKEN -Dsonar.dependencyCheck.reportPath=${DEPENDENCY_CHECK_OUT_DIR}/dependency-check-report.xml -Dsonar.dependencyCheck.htmlReportPath=${DEPENDENCY_CHECK_OUT_DIR}/dependency-check-report.html
Test Dependency Checker dependency_check:
......
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