Follow these steps to reset the credentials and generate a token:
- Open the SonarQube link in your favorite browser and switch to admin user.
- From the SonarQube dashboard, click on Administrator | My Account | Security (tab).
- On the resultant page, under the Change password section, do the following:
- Add your old password (admin) under the Old Password field.
- Add a new password under the New Password field.
- Reconfirm your new password by adding it again in the Confirm Password field.
- Once done, click on the Change Password button.
- On the same page under the Tokens section, there is an option to generate a token. Jenkins can use this token to access SonarQube. Perform the following ...