Compare commits
7 commits
master
...
sonarcloud
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af02fcc6ba | ||
|
|
6dccc5eea9 | ||
|
|
14a4a089a8 | ||
|
|
794fa8db7d | ||
|
|
3b31b3d23a | ||
|
|
b9c058d0db | ||
|
|
d76fc6c43b |
3 changed files with 27 additions and 10 deletions
|
|
@ -119,3 +119,21 @@ dockerize-testnet:
|
||||||
manual
|
manual
|
||||||
timeout:
|
timeout:
|
||||||
3h
|
3h
|
||||||
|
|
||||||
|
sonarqube-check:
|
||||||
|
variables:
|
||||||
|
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
|
||||||
|
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
|
||||||
|
cache:
|
||||||
|
key: "${CI_JOB_NAME}"
|
||||||
|
paths:
|
||||||
|
- .sonar/cache
|
||||||
|
script:
|
||||||
|
- sonar-scanner
|
||||||
|
allow_failure: true
|
||||||
|
only:
|
||||||
|
- merge_requests
|
||||||
|
- branches
|
||||||
|
tags:
|
||||||
|
- sonarqube
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
sonar.projectKey=peerplays-network_peerplays
|
|
||||||
sonar.organization=peerplays-network
|
|
||||||
|
|
||||||
# This is the name and version displayed in the SonarCloud UI.
|
|
||||||
sonar.projectName=peerplays
|
|
||||||
|
|
||||||
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
|
|
||||||
sonar.sources=.
|
|
||||||
|
|
||||||
sonar.host.url=https://sonarcloud.io
|
|
||||||
9
sonar-project.properties
Normal file
9
sonar-project.properties
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
sonar.projectKey=PBSA_peerplays_AYR2yeufZTg8vpcMk_Px
|
||||||
|
sonar.qualitygate.wait=true
|
||||||
|
sonar.host.url=http://localhost:9000
|
||||||
|
sonar.sourceEncoding=UTF-8
|
||||||
|
|
||||||
|
#sonar.projectKey=PBSA_peerplays_AYR2yeufZTg8vpcMk_Px
|
||||||
|
#sonar.qualitygate.wait=true
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in a new issue