Skip to content

Commit

Permalink
Merge pull request #229 from Cognifide/CLAN6-303-Sonarqube-6
Browse files Browse the repository at this point in the history
Sonarqube 6.x added, works exactly the same way 7.x does.
  • Loading branch information
Mateusz Bartkowiak authored Jan 22, 2020
2 parents 5cfe7d5 + 78c4233 commit e718f27
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cogboard-webapp/src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ export const SONARQUBE_VERSIONS = [
display: '7.x',
value: '7.x'
},
{
display: '6.x',
value: '6.x'
},
{
display: '5.x',
value: '5.x'
Expand Down
49 changes: 49 additions & 0 deletions functional/cypress-tests/cypress/fixtures/Widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,55 @@ module.exports = {
}
}
},
sonarQube6x: {
name: 'SonarQube',
version: '6.x',
endpoint: 'endpoint1',
schedulePeriod: '90',
key: 'fail',
metrics: {
blocker_violations: {
dataValue: 'blocker_violations',
label: 'blocker violations',
value: '0'
},
critical_violations: {
dataValue: 'critical_violations',
label: 'critical violations',
value: '0'
},
major_violations: {
dataValue: 'major_violations',
label: 'major violations',
value: '3'
},
minor_violations: {
dataValue: 'minor_violations',
label: 'minor violations',
value: '4'
},
info_violations: {
dataValue: 'info_violations',
label: 'info violations',
value: '15'
},
bugs: {
dataValue: 'bugs',
label: 'bugs',
value: '7'
},
code_smells: {
dataValue: 'code_smells',
label: 'code smells',
value: '5'
},
vulnerabilities: {
dataValue: 'vulnerabilities',
label: 'vulnerabilities',
value: '3'
}
}
},
sonarQube7x: {
name: 'SonarQube',
version: '7.x',
Expand Down

0 comments on commit e718f27

Please sign in to comment.