Even though I get an error, the scanner continues and reports a success. Because of this, the pipeline doesnât stop but continues. The SonarQube site doesnât show a warning or notification that there was an issue in the latest scan.
The error is the following:
ERROR Cannot parse 'ComBusOnlineAzure/Infrastructure/db/nsg.bicep:2:1
Placing all of this code on a single line still gives an error (now reporting ânsg.bicep:1:1â).
Copmpiling this script to ARM with following code generates a valid ARM json file and a warning that the variable âtoConnectâ is not used.
I investigated and found an issue in the Bicep parser. To follow up on this, I have created a ticket.
We expect to work on the Bicep parser soon, and we will make sure to take care of this.
Thank you again for your help and sorry for the inconvenience caused.