Open Rambrant opened 6 months ago
I successfully use this on my Linux nodes but have problems on the windows ones. I get the following error when I try to use it.
plugin error: exit: fork/exec C:\Windows\system32\config\systemprofile\.trivy\plugins\sonarqube\sonarqube.py: %1 is not a valid Win32 application. 09:32:18 At D:\Jenkins_data\workspace\bkslb\sonar-test@tmp\durable-375653e6\powershellWrapper.ps1:3 char:1 09:32:18 + & powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -Comm ... 09:32:18 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:32:18 + CategoryInfo : NotSpecified: (Error: plugin e...32 application.:String) [], RemoteException 09:32:18 + FullyQualifiedErrorId : NativeCommandError 09:32:18 09:32:18 Usage: 09:32:18 trivy sonarqube [flags] ...
Python is installed and is in the PATH environment variable. I'm severly limited when it comes to windows :-) The only thing I can imagine is the shebang
#!/usr/bin/env python3
It looks very 'Linuxy'
Happy for any help I can get
/Thomas
I successfully use this on my Linux nodes but have problems on the windows ones. I get the following error when I try to use it.
Python is installed and is in the PATH environment variable. I'm severly limited when it comes to windows :-) The only thing I can imagine is the shebang
#!/usr/bin/env python3
It looks very 'Linuxy'
Happy for any help I can get
/Thomas