Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicolas PERNOUD
Vestibule
Commits
2a7225d9
Commit
2a7225d9
authored
Apr 05, 2022
by
Pierre-Eliott BRESSAND
Browse files
Update .gitlab-ci.yml
parent
2347b4f2
Pipeline
#24534
passed with stage
in 5 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2a7225d9
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment