Jenkins auto deploy tomcat 7

后端 未结 7 616
生来不讨喜
生来不讨喜 2020-12-22 19:18

We\'re trying to deploy a war file with Jenkins, but nothing seems to happen.

The project is built successfully, and we\'re using Jenkins deploy plugin. It is config

7条回答
  •  伪装坚强ぢ
    2020-12-22 19:51

    I tried to use the solution of target/whatever.war but it's not work so i tried to use */.war and it's work

    you can see that on jenkins the definitive guide EN You need to specify where to find the files you want in the other build job’s workspace, and where Jenkins should put them in your current project’s workspace. This can be a flexible regular expression (such as */.war, for any WAR file produced by the build job), or it can be much more precise (such as gameoflife-web/target/gameoflife.war).

    or on Deploy to Tomcat with pluging DEPLOY

提交回复
热议问题