Using Bitbucket cloud, I am trying to make a pipeline to scan new code on a pull request.
I have a self-hosted runner configured on a windows server.
According to SonarCloud instructions for Bitbucket pipelines, I added the following to my bitbucket-pipelines.yml:
- pipe: sonarsource/sonarcloud-scan:1.4.0
- pipe: sonarsource/sonarcloud-quality-gate:0.1.6
When the pipeline runs, it immediately fails with a configuration error “The Pipes feature is not supported on this self-hosted runner’s platform”.
Indeed, Pipes are not supported by bitbucket’s self-hosted windows runners as stated in the documentation.
Is there a workaround for that? If so, shouldn’t it be suggested along with the instructions to configure bitbucket pipelines for sonarcloud, as it must be a pretty common case?
Thanks