Gonster

Gonster

V2EX member #115151, joined on 2015-05-04 20:12:19 +08:00
Per Gonster's settings, the topics list is only visible after you sign in
Deals info, including closed deals, is not hidden
Gonster's recent replies
Feb 13, 2019
Replied to a topic by boliguner 游戏 请大家安利游戏!一个人也很好玩的那种
Dead Cell
是不是你有加后缀是 SNAPSHOT 的依赖,maven 检查快照版依赖有没有更新,所以老会下载这些文件来确认
对对,我的也是更新完配置全变回默认
貌似发生了人间惨剧
六楼。。写错了
怎么写你参考 6 六最后一个链接页面里最后一行的写法,大概就是:
BUILD_ID=abcde ./startup.sh

如果不行的话我就不大清楚了
6 楼 打错:“你意思本来想用 deploy to container 插件”
@palmers 其实我没完全看明白,你的意思是本来不想用 deploy to container 插件,但是下载不下来,所以用的是 Execute shell 运行脚本做你描述的事情?
如果是我理解的这样,你只能用 Execute shell ,那一楼我提到的那个变量名字是 BUILD_ID ,随便改成其他值就好了。参考:
http://stackoverflow.com/questions/5728899/tomcat-script-not-working-when-run-from-hudson
https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller
之前看文档 Jenkins 的理念主要是它就是用来构建的而不是部署,部署应该交给其他工具,构建的话构建完了之后自然应该停止,所以自带插件都是这样的,不然脚本可能会在 Jenkins 服务器上一堆残留一堆没杀死的进程。
其他有些插件,设计就是用来部署的所以不会按 Jenkins 这种设计来。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5452 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 09:16 · PVG 17:16 · LAX 02:16 · JFK 05:16
♥ Do have faith in what you're doing.