To test this, make your own HelloWorld project with some atrocious bugs, or use a project that gives results without trying too hard, e.g.:
Again, fork someone else's repo if you need to modify it.
- (Do basic Jenkins job setup)
- If Java, add a build step first; SonarQube scans class files rather than source code
- Add Build Step: Execute SonarQube Scanner: Analysis properties:
- sonar.ProjectKey=[project name with no spaces]
- sonar.language=[Main language used]
- (Leave everything else as is)
- Click Save
Back on project page, click Build Now.
Results: Project page > SonarQube link
To watch progress: click build > Console Output