We have changed the organization name of our github organization, and i think i have updated everything accordingly, and re-bound the repository, but the workflow ends in an error that is cannot find the old organization.
What have i missed? The new org name in Sonarcloud should efficy-sa-tribe
Hey there!
Did you update your SonarQube Cloud Organization Key?
If so, did you update sonar.organization
in your analysis configuration? Most of the time, when using GitHub Actions this is located in a sonar-project.properties fo;e
This sonar analysis is run form a github workflow with a mvn command:
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=efficy-sa-tribecrm-api
There is no sonar.properties file used
The organization key is set correctly i think:
If that’s the case, then sonar.organization
will probably be found in your pom.xml file. At least, that’s where it will be if you follow the instructions in the analysis tutorial!
Of course! I forgot about that
Thanks, that solved my problem