From 5fee7a266cdc44f5c848ad59485ed729cf088ff8 Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 21 Jul 2017 10:59:20 +0300 Subject: [PATCH] Improved SonarCloud integration --- README.md | 6 ++++++ appveyor.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d57dff9..2e66dc5 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,10 @@ One-way backup tool with versioning and client-side encryption. Your precious da [![Build status](https://ci.appveyor.com/api/projects/status/hwkmds6qtwdb6r23?svg=true)](https://ci.appveyor.com/project/inga-lovinde/eternalarrowbackup) [![Coverity Scan Build Status](https://scan.coverity.com/projects/21545/badge.svg)](https://scan.coverity.com/projects/inga-lovinde-eternalarrowbackup) [![codecov](https://codecov.io/gh/inga-lovinde/EternalArrowBackup/branch/master/graph/badge.svg)](https://codecov.io/gh/inga-lovinde/EternalArrowBackup) + [![Quality Gate](https://sonarcloud.io/api/badges/gate?key=EternalArrowBackup)](https://sonarcloud.io/dashboard?id=EternalArrowBackup) +![SonarQube technical debt ratio](https://sonarcloud.io/api/badges/measure?key=EternalArrowBackup&metric=sqale_debt_ratio) +![SonarQube vulnerabilities](https://sonarcloud.io/api/badges/measure?key=EternalArrowBackup&metric=vulnerabilities) +![SonarQube bugs](https://sonarcloud.io/api/badges/measure?key=EternalArrowBackup&metric=bugs) +![SonarQube violations](https://sonarcloud.io/api/badges/measure?key=EternalArrowBackup&metric=violations) +![SonarQube code smells](https://sonarcloud.io/api/badges/measure?key=EternalArrowBackup&metric=code_smells) diff --git a/appveyor.yml b/appveyor.yml index 4072855..44940d2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,7 @@ before_build: - choco install codecov build_script: - - MSBuild.SonarQube.Runner.exe begin /k:"EternalArrowBackup" /d:"sonar.organization=inga-lovinde-github" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=%SONAR_LOGIN%" + - MSBuild.SonarQube.Runner.exe begin /key:"EternalArrowBackup" /version:"%APPVEYOR_REPO_COMMIT%" /d:"sonar.organization=inga-lovinde-github" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=%SONAR_LOGIN%" - msbuild /t:Rebuild EternalArrowBackup.sln - MSBuild.SonarQube.Runner.exe end /d:"sonar.login=%SONAR_LOGIN%"