Compare commits

...

7 commits

Author SHA1 Message Date
Rily Dunlap
af02fcc6ba Update .gitlab-ci.yml - Removed debugging 2022-12-09 17:10:41 +00:00
Rily Dunlap
6dccc5eea9 Update sonar-project.properties 2022-12-09 14:16:35 +00:00
Rily Dunlap
14a4a089a8 Update .gitlab-ci.yml file - added tag for sonarqube 2022-12-05 18:33:18 +00:00
Rily Dunlap
794fa8db7d Update .sonarcloud.properties - added host url 2022-12-05 18:32:44 +00:00
Rily Dunlap
3b31b3d23a Update .gitlab-ci.yml 2022-11-14 17:20:39 +00:00
Rily Dunlap
b9c058d0db Update .gitlab-ci.yml - added sonar scanning job 2022-11-14 15:43:41 +00:00
Rily Dunlap
d76fc6c43b Update .sonarcloud.properties - using selfhosted sonarqube 2022-11-14 15:39:32 +00:00
3 changed files with 27 additions and 10 deletions

View file

@ -119,3 +119,21 @@ dockerize-testnet:
manual
timeout:
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

View file

@ -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
View 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