For the past 50 minutes all our builds have been failing with the following error:
Unable to locate executable file: ‘D:\AgentOne_work_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.5.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe’. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
Has something been released your end that has broken this?
[error]Unable to locate executable file: ‘D:\a_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.5.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe’. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
This bug either hasn’t been resolved, or our Azure DevOps instance is not pulling in the latest version of 4.5.1. We are still retrieving task 4.5.0 and the zip associated with the task is empty and therefor not extracting. Is there something that we can do to force a proper version retrieval?
No didn’t have to do anything, it auto-updated, I guess because it was still a 1.x version. If you had gone to a 2.x version number it wouldn’t have auto updated.
How can we use a 2.x version? Only 1.x is listed as an option on our VSTS build and the above issue stopped our builds for 24 hrs which could sometimes become a serious issue.