Like in the Publish over FTP plugin
Publish over SSH: Clean before copy (or pre-exec command)
Thank you Alex. Tested and confirmed working as expected.
Where is this released? The latest release I see is 1.20.1. Was this release pulled?
I reopen this issue since the last published Version is 1.20.1 and it does not contain correctly working clean remote option.
For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues
Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/144
And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-33056%22
(Note: this is an automated bulk comment)
Closing ticket, please use the corresponding Github Issue as linked above.