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

debugging gitlab-ci

parent 65b6e5d4
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.
......@@ -40,6 +40,7 @@ Test Dependency Checker:
tags:
- dockerd
script:
- ls -al
- docker run --rm -v "${PWD}/t/dependency-check/simple-app:/work" -w /work node:alpine npm install
- docker run --rm -v "${PWD}/t/dependency-check/simple-app:/work" -w /work -e DEPENDENCY_CHECK_OUT_DIR=./ its-registry.unl.edu/unl-its/docker-ci/dependency-check
- docker run --rm -v "${PWD}:/work" -w /work its-registry.unl.edu/unl-its/docker-ci/static-code-analysis sonar-scanner -Dsonar.host.url=$SONAR_URL -Dsonar.projectKey=$CI_PROJECT_PATH_SLUG -Dsonar.sources=. -Dsonar.login=$SONAR_TOKEN -Dsonar.dependencyCheck.reportPath=dependency-check-report.xml -Dsonar.dependencyCheck.htmlReportPath=dependency-check-report.html
......
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