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

debugging gitlab-ci

parent 619efa50
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.
......@@ -35,12 +35,24 @@ stages:
- docker run --rm its-registry.unl.edu/unl-its/docker-ci/static-code-analysis sonar-scanner -v
- docker run --rm -v "${PWD}:/work" -w /work its-registry.unl.edu/unl-its/docker-ci/detect-secrets -s
Test Dependency Checker:
Test Dependency Checker:A:
stage: test
tags:
- docker
image: node:alpine
cache:
paths:
- node_modules/
script:
- npm install
.Test Dependency Checker:
stage: test
tags:
- dockerd
script:
- ls -al
- docker run --rm -v "${PWD}/t/dependency-check/simple-app:/work" -w /work --entrypoint "/bin/ls -al" node:alpine npm install
- 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