I am using a Pipe sonarsource/sonarcloud-scan:1.0.1. so far its all fine since I have my properties file as
sonar.projectKey={key}
sonar.organization={org}
sonar.branch.name=origin/develop
------
I have a small problem with this.... how do I pass the current branch name to this property file?. Since this is hardcoded every scanning results are being clubbed together in develop branch. Your help would be appreciated!
Community moderators have prevented the ability to post new answers.
Hi, @Diwakar Chapagain you don't actually need the branch name. It gets picked up automatically. So you can remove that setting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.