Jenkins: How to make single job build and deploy on two servers

前端 未结 6 797
刺人心
刺人心 2021-02-06 15:37

I have code in a repository. Now I want to create a job which will build code from the repository and deploy it on two servers.

Right now I create two jobs with exactly

6条回答
  •  终归单人心
    2021-02-06 15:59

    I solved this adding Flexible Publish plugin, and as a Conditional Action, using Run:'Always'. Now it is possible to add as many actions as like in Flexible publish conditional action, and all these actions can be 'Deploy WAR/EAR to container'.

提交回复
热议问题