遇到问题:
- 1.需要安装Maven Integration plugin插件,用于新建maven项目
- 2.使用的[Jenkins 2.263.2]添加git仓库访问权限页面不友好,尝试重启jenkins再添加。添加ssh访问github授权时,Passphrase选项填写git密码(必须)。
- 3.构建完成后,需要通过docker命令重起app容器,需要jenkins 挂载docker目录,参考:https://blog.csdn.net/bpqdwo/article/details/93714482?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522161408284916780261924257%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=161408284916780261924257&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2