- CI system used: Gitlab and local
Why there is no .gitlab-ci.yml configuration for .NET?
Steps to reproduce
- Open sonarcloud.io.
- Click + (upper right corner) and then ‘Analyze new project’.
- Choose project to analyze (I connected gitlab account, so I choose one of my project at gitlab portal).
- Complete step ‘Set up project for Clean as You Code’ (choose one or another option).
- Click ‘Create project’.
- Choose your Analysis Method - I choose ‘With GitLab CI/CD Pipeline’.
- Scroll down to the p.2 ‘Create or update a
.gitlab-ci.yml
file’.
Actual: there is no.gitlab-ci.yml
configuration for .NET:
Expected: there is.gitlab-ci.yml
configuration for .NET.
NB: there is yaml.NET
configuration for .NET - if you choose ‘With Amazon CodeCatalyst’ option at step 6.
Potential workaround
- Open sonarcloud.io.
- Click + (upper right corner) and then ‘Analyze new project’.
- Click ‘create a project manually’ (bottom right corner).
- Add necessary info about new project.
- Click Next.
- Complete step ‘Set up project for Clean as You Code’ (choose one or another option).
- Click ‘Create project’.
- Choose your Analysis Method - choose ‘Manually’.
- Here we have
.NET
configuration - choose.NET
, OS anddotnet
- and you will get command for installation of the DotNet SonarScanner Tool and for its execution: