The scenario is - I have a job A which runs my ant script and packages the artifact\'s for me.
I am also using parametrized Triggered plug in to Trigger my \"Job B\" whi
As part of Publish Over SSH Plugin, you can execute a script after the files had been copied over.
To solve my query i used Jenkins SSH Plugin. This provides a configuration tab where i can add multiple hosts and after that used them in my job level configuration.
Link to Plugin
you get privilege to execute shell script on remote host as pre-build step or post build step.