0

I am trying to run a remote command from Jenkins.

I am able to run the command from the agent directly successfully.

enter image description here

But when I am trying the same command from the Jenkins it gives me below error.

enter image description here

I found the same issue here.

I tried all the solution provided there but its still not working.

Any help would be appreciated.

Bhavik Joshi
  • 2,557
  • 6
  • 24
  • 48
  • Instead of running it in command line can you convert it to batch script and run it in `Execute Windows Batch`. Please post your batch script too. – mdabdullah Dec 17 '20 at 20:01
  • I tried that too it gives me the same error. – Bhavik Joshi Dec 18 '20 at 09:01
  • Can you paste the script? The handler is not recognized, which I suspect is due to a connection issue between `master` , `slave` , `your-remote-host` there are couple of ways to install jenkins `slave` , try out multiple windows slaves which are created with different mechanisms one of them may work. – mdabdullah Dec 18 '20 at 15:54

0 Answers0