Using SonarCloud with GitHub and GitHub Pipelines
Steps to reproduce:
- Analyze a new private project from GitHub
- Go to Analysis Method (Administration > Analysis Method)
- [IMPORTANT] Toggle off the “SonarCloud Automatic Analysis” option.
- Click any “Follow the tutorial” link on the Supported Analysis Methods below
The screen with the instructions shows up then immediately redirects you into the project’s home page.
There are no logs on the browser’s console and no 301 responses over the network
Potential workaround:
If you click on the link while the “SonarCloud Automatic Analysis” is toggled ON, the page works as expected
Affected platforms:
We were able to reproduce the bug consistently using
Google chrome 88.0.4324.150 on MacOs Catalina 10.15.7
Firefox Developer 86.0b8 on Fedora 33 (KDE)
Other information:
I haven’t tested any public repositories.
Our account is new. It’s still on the trial, although there is a credit card associated with it.
We have another account using Bitbucket and Bitbucket Pipelines and it works as expected.
We are currently migrating our repositories from Bitbucket to Github, all repositories already had working pipelines on Bitbucket.
We don’t use the sonar-project.properties file.
All the repositories we tried so far had the Automatic Analysis enabled by default.