To execute remote script, select remote shell script on remote host Using SSH
The script is as follows:
cp root.war jetty/webapps/ sh jetty/bin/jetty/sh restart
After execution, jetty started successfully, but where Jenkins turned around and couldn’t stop. After a long time, the message was:
Build was aborted。
How to solve it?
After the construction:
Is there a write JAVA_HOME in the script
Thank you, but I’m not very familiar with it
Try changing Send files or execute commands over SSH
How did the landlord solve it? Mine has been stuck here.