Sonar wrapper access denied (SonarQube v10.3)

I’m trying to get the sonar wrapper to work through Jenkins automation. If I run the command manually it will work just fine. I’m using Ant script for the build steps. We are using SonarQube v10.3 Developer edition. I’m trying to analyze objective C so I have to do SonarWrapper then Sonar Scanner.

The command I’m running: build-wrapper-win-x86-64.exe --out-dir bw-output C:\Jenkins\Workspace\Nell1 “c:\Program Files (x86)\IAR Systems\Embedded Workbench 7.4\common\bin\IARBuild.exe” C:\Jenkins\Workspace\Nell1\backend\BEExe\projects\PlatformST.ewp -build General

The output:
[exec] [SONARSOURCE BUILD-WRAPPER] failed to execute C:\Jenkins\Workspace\Nell1 “c:\Program Files (x86)\IAR Systems\Embedded Workbench 7.4\common\bin\IARBuild.exe” C:\Jenkins\Workspace\Nell1\backend\BEExe\projects\PlatformST.ewp -build General: Access is denied

I can make new folders in the Nell1 folder through the ant script without any trouble. I made the wrapper run as admin but that didn’t change anything. This is running on Win10.

TIA, jeff

hi @foegej1,

Can you share the build-wrapper.log file? Let me know if you prefer to share it privately.

Thanks,