Commit 2a7225d9 authored by Pierre-Eliott BRESSAND's avatar Pierre-Eliott BRESSAND
Browse files

Update .gitlab-ci.yml

parent 2347b4f2
Pipeline #24534 passed with stage
in 5 minutes and 8 seconds
......@@ -16,6 +16,8 @@ sonarqube-check:
- .sonar/cache
script:
- 'curl -X POST -H "Login: ${SONAR_TOKEN}" ${SONAR_URL}/api/project_branches/rename?name=master&project=${CI_PROJECT_NAME}'
- echo "sonar-scanner -Dsonar.login=${SONAR_TOKEN} -Dsonar.projectName=${CI_PROJECT_NAME} -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.qualitygate.wait=true -Dsonar.host.url=${SONAR_URL}" > /tmp/commande
- sleep 300
- sonar-scanner -Dsonar.login=${SONAR_TOKEN} -Dsonar.projectName=${CI_PROJECT_NAME} -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.qualitygate.wait=true -Dsonar.host.url=${SONAR_URL}
allow_failure: true
only:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment