Trigger SonarQube from Jenkins

You can log in to SonarQube with the default administrator account; both username and password are admin. In a real-world scenario, you should absolutely change those, but we are going to use them as is. If you do decide to change them, be sure to change them in the configuration up ahead as well:

Like Jenkins, SonarQube alone does not do much. It needs a runner that does all of the heavy work. There are specific runners for certain platforms, but the generic runner will suffice in most cases:

sudo apt-get updatesudo apt-get install unzipwget ...

Get Continuous Integration, Delivery, and Deployment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.