-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enable sonar with quality gate check as part of build (#54)
* ci: add sonar scanner to pipeline * ci: update sonar stage * ci: add missing steps * ci: call sonar scanner directly * ci: ignore sonar folder * ci: using jenkins plugin * ci: set sonar home * ci: trying sonarqube tool name * ci: use versioned scanner * ci: another try * ci: next try * ci: set in environment * ci: use minor versioning * ci: correct tool path * ci: scan src files * ci: change order of sonar scanner * ci: remove sonar login from properties * ci: sonar analysis after test to publish coverage tp sonar * ci: generate lcov report for sonar * ci: remove json test report * ci: path for html report * ci: passing cobertura report to sonar * ci: revert to lcov paths * ci: add quality gate keeper * ci: change to 10 mins * fix: prevent saving to dependencies * ci: change prepare step * ci: put to dev dependencies * ci: redundant variable * ci: reenable quality gate
- Loading branch information
Showing
6 changed files
with
2,287 additions
and
2,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
dist | ||
.idea/ | ||
coverage/ | ||
.scannerwork/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# required properties | ||
sonar.projectKey=webrtc-core | ||
sonar.projectName=WebRTC Core | ||
|
||
# host info | ||
sonar.host.url=https://engci-sonar-sjc.cisco.com/sonar | ||
|
||
# optional description | ||
sonar.projectDescription=WebRTC Core library for CPaaS | ||
|
||
# path to source directories (required) | ||
sonar.sources=src | ||
|
||
# exclusions | ||
sonar.exclusions= | ||
|
||
# coverage reporting | ||
sonar.javascript.lcov.reportPaths=coverage/lcov.info | ||
|
||
# Encoding of the source code | ||
sonar.sourceEncoding=UTF-8 |
Oops, something went wrong.