Tomcat started with gitlab-ci will be kill at the end of the process

recently, I have been using gitlab for continuous integration, but I have encountered a problem when configuring the. gitlab-ci.yml file of gitlab-ci. If I start the startup.sh of tomcat with the shell command in A. gitlab-ci.yml, after the pipeline is completed, the tomcat process will be kill.

this problem is also encountered when restarting tomcat with jenkins configuration, but adding BUILD_ID=DONTKILLME to jenkins can protect tomcat from kill.

now you want to know if gitlab-ci also has a way to protect the tomcat process?


use the setsid daemon


ask the landlord whether it has been solved

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37e72-2c0b6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37e72-2c0b6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?