Steps

Command

sshCommand This step executes given command on remote node and responds with output. Usage Key Type Description remote Remote, Mandatory, Refer to the Remote config for more details. Host config to run the command on. command String, Mandatory Shell command to run. Appending sudo is optional when sudo is true. sudo »

Get

sshGet Get a file or directory from the remote host. Usage Key Type Description remote Remote, Mandatory, Refer to the Remote config for more details. Host config to run the command on. from String, Mandatory file or directory path from the remote node. to String, Mandatory file or directory path on current worksapce. »

Put

sshPut Put a file or directory into the remote host. Usage Key Type Description remote Remote, Mandatory, Refer to the Remote config for more details. Host config to run the command on. from String, Mandatory file or directory path from the workspace. to String, Mandatory file or directory path on the remote node. »

Remove

sshRemove Remove a file or directory on the remote host. Usage Key Type Description remote Remote, Mandatory, Refer to the Remote config for more details. Host config to run the command on. path String, Mandatory file or directory path on the remote node failOnError boolean, default: true. If this is false, no job failure would occur though there is an error while running the command. »

Script

sshScript This step executes given script(file) on remote node and responds with output. Usage Key Type Description remote Remote, Mandatory, Refer to the Remote config for more details. Host config to run the command on. script String, Mandatory Script file name from the workspace, current this doesn’t support script with arguments. For that option you would need to copy over the file to remote node and run it as a command. »