Skip to content
Snippets Groups Projects

Resolve "Integrate dependency-check container with Sonarqube"

1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
+ 4
1
@@ -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:
Loading