To support the sonar-ps-plugin on multiple platforms it would be convenient to add some form of automated continuous integration to this project. This PR shows an example of a Azure DevOps pipeline to build & test this project on Linux, MacOS and Windows.
The builds are here: https://dev.azure.com/thomasmoerkerken/sonar-ps-scanner/_build?definitionId=3
Feel free to use your own Azure DevOps account of course.
In order to make the builds succeed, the tests have been modified to default to powershell.exe for windows and pwsh for non-windows platforms. Also, the quotes around a path with spaces are only applied on a windows platform because it breaks on non-windows.
Thank you for raising this. Looks great :) Have configured pipelines on my account and works perfectly :) I have updated release jar with a fix for path formatting issues on different OS'es.
Hi!
Thanks for releasing v0.4.0!
To support the sonar-ps-plugin on multiple platforms it would be convenient to add some form of automated continuous integration to this project. This PR shows an example of a Azure DevOps pipeline to build & test this project on Linux, MacOS and Windows. The builds are here: https://dev.azure.com/thomasmoerkerken/sonar-ps-scanner/_build?definitionId=3 Feel free to use your own Azure DevOps account of course.
In order to make the builds succeed, the tests have been modified to default to powershell.exe for windows and pwsh for non-windows platforms. Also, the quotes around a path with spaces are only applied on a windows platform because it breaks on non-windows.
Would like to hear your thoughts.