Integrate multiple branches with SonarCloud

I have used aws code-build and in the sonarcloud i configure with OTHER CI TOOLS. My repisotry is in github.

Hey there.

You’ll have to make sure that the name of the branch being built is passed to the See the documentation on Setup with a non-integrated build environment.

Something like GitHub - thii/aws-codebuild-extras: Add extra information of your AWS CodeBuild build via environment variables. might help you extract this information.

I am using aws code build as ci tool, where i pull the branch and do the scan process. I did it for the dev branch but how will do it for the qa,stage and prod branches? When I create aws codebuild for all of these and run the build,it will overwrite the report of dev. I want separate for all branches.