会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ifnk
博客园
首页
新随笔
联系
订阅
管理
2021年12月14日
jenkins pipeline 流水线 执行 sh 命令 踩坑
摘要: 想在 流水线里加上逻辑 判断 ,比如 docker 存在 镜像就 先 stop 在 rm 原来 是这样写的 sh 'test -n "$(docker ps | grep react-app)" && docker stop react-app' 报语法 不对 ,后来 想想 用 shell 脚本 算
阅读全文
posted @ 2021-12-14 10:18 ifnk
阅读(7316)
评论(0)
推荐(1)
编辑
公告