Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back the sonar token #1110

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Add back the sonar token #1110

merged 1 commit into from
Dec 5, 2024

Conversation

gtoison
Copy link
Contributor

@gtoison gtoison commented Dec 2, 2024

No description provided.

@hazendaz
Copy link
Member

hazendaz commented Dec 3, 2024

Sonar shows not doing this anymore. However I've not confirmed that is accurate. Will try this weekend on a separate repo that works. Believe it's a security reason.

@gtoison
Copy link
Contributor Author

gtoison commented Dec 3, 2024

I'm not sure what you're saying, the documentation here https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/scanners/sonarscanner-for-maven/ says to use -Dsonar.token=myAuthenticationToken
The Sonar Maven plugin needs the token for authentication

@hazendaz
Copy link
Member

hazendaz commented Dec 5, 2024

I can merge but a lot are moving away from that type of setup because it exposes the variable in funny ways although so does the ENV. My understanding is only the ENV is needed. I removed it after having issues and it clearly doesn't fix anything. I'll merge it back here.

Separate question, do you know why just this repo isn't showing how many changes are on master in relation to the last release tag? I poked around but could not see where that is set and releases are being tagged properly. I did try to tag slightly differently on last release thinking that might help but didn't really do anything.

@hazendaz hazendaz merged commit eb3982e into master Dec 5, 2024
5 of 6 checks passed
@hazendaz hazendaz deleted the add-back-sonar-token branch December 5, 2024 01:47
@gtoison
Copy link
Contributor Author

gtoison commented Dec 5, 2024

Separate question, do you know why just this repo isn't showing how many changes are on master in relation to the last release tag? I poked around but could not see where that is set and releases are being tagged properly. I did try to tag slightly differently on last release thinking that might help but didn't really do anything.

Sorry I don't understand what you're asking: this repo isn't showing changes where exactly? What did you try to tag on the release?

Regarding the sonarcloud analysis, I'm not sure if you are aware but Sonarsource requires that plugins are regularly analysed, so we currently wouldn't be able to release a new version until we get hold of a new token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants