Fakultas Ilmu Komputer UI

Commit 13e4952b authored by Muzaki Azami's avatar Muzaki Azami
Browse files

Splitting sonarqube

parent be61b356
......@@ -48,6 +48,26 @@ SonarScanner:
-Dsonar.projectKey=$SONARQUBE_PROJECT_KEY
-Dsonar.branch.name=$CI_COMMIT_REF_NAME
-Dsonar.python.coverage.reportPaths=coverage.xml
only:
- master
- staging
SonarScanner-Dev:
image:
name: sonarsource/sonar-scanner-cli:4.6
entrypoint: [""]
stage: sonar-scanner
script:
- sonar-scanner
-Dsonar.host.url=https://pmpl.cs.ui.ac.id/sonarqube
-Dsonar.login=$SONARQUBE_TOKEN
-Dsonar.projectKey=$SONARQUBE_PROJECT_KEY
-Dsonar.branch.name=$CI_COMMIT_REF_NAME
-Dsonar.branch.target=staging
-Dsonar.python.coverage.reportPaths=coverage.xml
except:
- master
- staging
DeploymentStaging:
image: ruby:2.4
......
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