jenkins构件任务完成后杀死子进程,自动化无法执行
https://blog.csdn.net/zhangyan323/article/details/103061448
我是在bat文件中增加了:set BUILD_ID=dontKillMe
@echo off taskkill /f /im javaw.exe set BUILD_ID=dontKillMe start javaw -jar erp-0.0.1-SNAPSHOT.jar > erp.log --server.port=8083 exit