Hi,
Unable to locate 'report-task.txt'
is a very generic error message not showing the real reason.
If git bash or cygwin is not installed, you need to use bat
instead of sh
on a Jenkins windows node.
Also this is wrong -D sonar.host.url=http://192.168.3.63:3002
, there is no blank between
-D and the key name, should be i.e. -Dsonar.host.url=http://192.168.3.63:3002
With powershell it’s a bit different, see
EDIT = just saw you’ve got a similar answer in the Jenkins community forum
Gilbert