Atlasboard jobs and widgets for querying and displaying SonarQube on a dashboard.
Widget available, display of the red quality gates:
Copyright 2008-2016 SonarSource.
Licensed under the GNU Lesser General Public License, Version 3.0
This package is available as a git submodule. See Package-Atlassian how to include it in your wallboards.
SonarQube 5.5 or better.
Report the red quality gates found in a set of projects.
In your globalAuth.json file you need an entry for your SonarQube instance.
"sonarqube": {
"rootURL": "https://sonarqube.hogwarts.edu/contextIfAny",
"username": "harry.potter",
"password": "magictrick"
},
In your dashboard definition:
"qg-filter": {
"interval": 180000,
"widgetTitle": "Quality Gate Failures",
"filterProjects": "search=sonar",
"days_since_last_commitMax": 30,
"credentials": "sonarqube"
},
filterProjects
is optional, it may be used to filter the projects, see doc here for details.
days_since_last_commitMax
is optional too.
- forum: https://groups.google.com/forum/#!forum/sonarqube
- raise a bug, propose a new feature: https://github.com/SonarQubeCommunity/atlasboard-sonarqube-package/issues
- run the test:
npm test
- compute the coverage:
npm run coverage