简体   繁体   English

从Jenkins启动Tomcat实例

[英]Starting of Tomcat Instance from Jenkins

I installed multiple instances of Tomcat in my Ubuntu machine. 我在Ubuntu计算机中安装了Tomcat的多个实例。 I was trying to start Tomcat (one of the instances from multiple Tomcat instances) from Jenkins. 我试图从Jenkins启动Tomcat(来自多个Tomcat实例的实例之一)。 Jenkins is showing that Tomcat started. Jenkins显示Tomcat已启动。 But Tomcat is still in shutdown state only. 但是Tomcat仍仅处于关闭状态。

In jenkins, When an build completes all the process Id's which are involved in the build are getting killed. 在詹金斯中,当构建完成时,构建中涉及的所有过程ID都会被杀死。

So mentioning BUILD_ID=dontKillMe ./home/tomcat/startup.sh in Execute shell script make it possible. 因此,在执行外壳程序脚本中提及BUILD_ID = dontKillMe ./home/tomcat/startup.sh使其成为可能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM