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

Update .gitlab/ci/test.dependency_check.yml

parent 7076f0ab
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.
test:dependency_checker:npm_install: test:dependency_check:npm_install:
stage: test stage: test
tags: tags:
- docker - docker
...@@ -10,9 +10,9 @@ test:dependency_checker:npm_install: ...@@ -10,9 +10,9 @@ test:dependency_checker:npm_install:
- cd t/dependency-check/simple-app/ - cd t/dependency-check/simple-app/
- npm install - npm install
test:dependency_checker:sonar-scanner: test:dependency_check:sonar-scanner:
stage: test stage: test
needs: ["test:dependency_checker:npm_install"] needs: ["test:dependency_check:npm_install"]
image: image:
name: its-registry.unl.edu/unl-its/docker-ci/static-code-analysis name: its-registry.unl.edu/unl-its/docker-ci/static-code-analysis
cache: cache:
...@@ -27,9 +27,9 @@ test:dependency_checker:sonar-scanner: ...@@ -27,9 +27,9 @@ test:dependency_checker:sonar-scanner:
script: script:
- 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 -Dsonar.scm.disabled=True - 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 -Dsonar.scm.disabled=True
test:dependency_checker:dependency_check: test:dependency_check:dependency_check:
stage: test stage: test
needs: ["test:dependency_checker:sonar-scanner"] needs: ["test:dependency_check:sonar-scanner"]
image: image:
name: its-registry.unl.edu/unl-its/docker-ci/dependency-check name: its-registry.unl.edu/unl-its/docker-ci/dependency-check
cache: cache:
......
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