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

前端 未结 6 786
刺人心
刺人心 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:41

    I got same problem, I'm about to solve it using multiple curl statements. See my post http://martin.podval.eu/2013/10/tomcat-7-remote-deployment.html Well, jenkins does not allow me to add multiple command line execution tasks, so I need to use three curl statements in one.

提交回复
热议问题