Hello my situation is this.
We are on Azure DevOps and are creating yml file for a pipeline that is building a C# application and a Angular application.
I would like to scan the Angular project and upload the result to Sonarcloud but can´t figure out
We have succeeded doing this for the .net part using the prepare SonarCloudPrepare@1 task and MSBuild scannerMode (in a different yaml file/pipeline)
Basicly I´m looking at the github actions example for js/ts and are trying to figure out how this translates to Azure Pipeline. Sorry if the question isn´t super clear, I´m a bit confused to be honest and could use a push in the right direction. Mostly generating errors at the moment.
something like this
- task: SonarCloudPrepare@1
inputs:
SonarCloud: ‘’
organization: '’
scannerMode: ‘CLI’
configMode: ‘file’
configFile: ‘path /to/sonar-project.properties’ → I added this file to the angular project root folder
cliSources: ‘?’