We have sonar scanner for windows, latest is sonar-scanner-cli-7.1.0.4889-windows-x64.
But it is not really convenient to use sonar-scanner.bat, it is possible to implement and add sonar-scanner.ps1 for sonar-scanner-cli to use it direct in powershell, and probably even don’t care about platform win/linux?
Hey there.
Thanks for the feedback. Currently, adding a dedicated PowerShell script is not on our roadmap.
Could you describe what specific inconveniences or annoyances you experience when using sonar-scanner.bat in your workflow? Are there particular scenarios or steps that are cumbersome when running the current batch script in PowerShell?
Hi Colin,
I currently have multiple projects that I build and scan for windows and linux in parallel, for scanning in widows I using sonar-scanner.bat for linux sonar-scanner, I already have powershell in both platforms windows/linux, it will be convenient to use sonar-scanner.ps1 and have single scanning implementation in pipeline.
But look I am not insist, it is just that annoying me in my work, to have a two blocks for sonar, because everything else I have in poweshell implementation that works in linux and windows.
Thank you, @kostakoff! Out of curiosity, are you using a specific CI tool for this? I’m asking to see if we can recommend any native integrations that might simplify or streamline the process for you.