Skip to content
Snippets Groups Projects
Commit 82dc1dee authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Use SonarScanner.gitlab-ci.yml template

JIRA INFRA-2832
parent d6e96b45
No related branches found
No related tags found
No related merge requests found
--- ---
include: include:
- remote: "https://gitlab.esss.lu.se/ics-infrastructure/gitlab-ci-yml/raw/master/PreCommit.gitlab-ci.yml" - remote: "https://gitlab.esss.lu.se/ics-infrastructure/gitlab-ci-yml/raw/master/PreCommit.gitlab-ci.yml"
- remote: "https://gitlab.esss.lu.se/ics-infrastructure/gitlab-ci-yml/raw/master/SonarScanner.gitlab-ci.yml"
variables: variables:
CONTAINER_TEST_IMAGE: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME" CONTAINER_TEST_IMAGE: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
...@@ -54,13 +55,6 @@ test: ...@@ -54,13 +55,6 @@ test:
junit: junit.xml junit: junit.xml
expire_in: 1 hour expire_in: 1 hour
analyse:
stage: analyse
image: registry.esss.lu.se/ics-docker/sonar-scanner:3
before_script: []
script:
- sonar-scanner -Dsonar.login=$SONARQUBE_TOKEN -Dsonar.projectVersion=$CI_COMMIT_REF_NAME
release-image: release-image:
stage: release stage: release
image: docker:latest image: docker:latest
......
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