Execute Shell script from workspace on remote machine after build successful (Jenkins)

前端 未结 2 907
再見小時候
再見小時候 2021-02-08 14:47

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

2条回答
  •  失恋的感觉
    2021-02-08 15:41

    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.

提交回复
热议问题