Jenkins 通过 Execute Shell 执行 shell 脚本 一、创建 .sh 文件 项目目录下新建 .sh 文件 jenkins-script\shell\ci_android_master.sh 添加 Execute Shell 模块 在 Command 中添加 # 获取 .sh 路径 CI_ANDROID_MASTER_PATH="${WORKSPACE}/jenkins-script/shell/ci_android_master.sh"