Configuring sonar qube in github
- Navigate to sonar cloud Refer Here
- Signup using GIthub
- Authorize Sonar cloud to use github
- Create organization
- Create an organization with any name
- key -> auto generated
- Plan -> Free (free for all public repos)
- Import the repo from github
- Choose analysis method -> Github Actions
-
Add token to Github
- Repo => Settings -> secrets & variables -> Add secret
- SONAR_TOKEN:
- SONAR_TOKEN:
- Repo => Settings -> secrets & variables -> Add secret
- Refer Here for sample yaml file for java
- Watch classroom recording and configure this for any other language
- .net
- python
- javascript (react or angular)
Next Steps
- Reusable Workflows
- Intro Azure DevOps
- Artifactory
