摘要: jenkins api http://jen-server:8080/job/<view>/api/json items对应的是一个列表,不包含正在build的job可以取到排队的task信息: "name": "GERRIT_CHANGE_NUMBER", "value": "150654" "n 阅读全文
posted @ 2019-09-06 17:28 i舒 阅读(924) 评论(0) 推荐(0) 编辑
摘要: json api: http://XXXXXXXXXXXXXXXXXXX/computer/api/json?pretty=true 参考: https://segmentfault.com/q/1010000003838869 pipeline 语法:https://jenkins.io/zh/d 阅读全文
posted @ 2019-09-04 22:16 i舒 阅读(831) 评论(0) 推荐(0) 编辑
摘要: su: must be run from a terminal https://stackoverflow.com/questions/36944634/su-command-in-docker-returns-must-be-run-from-terminal 阅读全文
posted @ 2019-09-02 13:32 i舒 阅读(2280) 评论(0) 推荐(0) 编辑
摘要: 创建overlay网卡 docker network create -d overlay --subnet 192.168.0.0/16 ov_net1 #指定子网 docker network create -d overlay ov_net2 #不指定子网 docker network ls # 阅读全文
posted @ 2019-08-31 16:30 i舒 阅读(272) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/winycg/article/details/80025432 阅读全文
posted @ 2019-08-30 21:00 i舒 阅读(2723) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/liuxia912/p/10960555.html 阅读全文
posted @ 2019-08-28 21:21 i舒 阅读(259) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_29999343/article/details/78294604 阅读全文
posted @ 2019-08-28 07:25 i舒 阅读(148) 评论(0) 推荐(0) 编辑
摘要: sudo docker run -d -e TZ="Asia/Shanghai" -v /etc/localtime:/etc/localtime:ro --restart=always --net=host -p $PORT:$PORT -v /opt/logs:/opt/logs --name 阅读全文
posted @ 2019-08-26 20:58 i舒 阅读(3106) 评论(0) 推荐(0) 编辑
摘要: 查看两次提交中git submodule更改 git diff --submodule --name-only HEAD~1 HEAD |awk -F "/" '/3rdparty/ {print $1 "/" $2} '|uniq #HEAD指本次提交HEAD~1指上次提交3rdparty/dlp 阅读全文
posted @ 2019-08-24 09:16 i舒 阅读(1756) 评论(0) 推荐(0) 编辑
摘要: http://www.mamicode.com/info-detail-1917569.html https://yq.aliyun.com/articles/272173 https://blog.csdn.net/weixin_32820767/article/details/81196250 阅读全文
posted @ 2019-08-23 22:47 i舒 阅读(4164) 评论(0) 推荐(0) 编辑