摘要: 想在 流水线里加上逻辑 判断 ,比如 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) 编辑