I have a couple of projects running from GitLab CI/CD. They all work without issue but I now have one project that suddenly started giving an error stating: Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator.
The project is showing up in the SonarCloud backend, the GitLab key is valid for our entire group and works for all other projects. Any idea what is going on here?
Thanks I edited the analysis method on the project in question and went through the tutorial which generated a new SONAR_TOKEN which I changed in the GitLab CI/CD vars and now it works again. So that’s great but what I don’t understand is why that token was suddenly invalidated without us changing anything? It’s not great when a change like that happens without any communication about it that breaks our pipelines.