jenkins 项目构建后,运行脚本的命令

bash -x -s < 路径

比如

bash -x -s < /home/ubuntu/shell/start.sh

posted @ 2018-11-18 23:47  -001  阅读(2097)  评论(0)    收藏  举报