Jenkins使用指南
Jenkins使用指南
学习入门
- https://www.jenkins.io/
- https://www.jenkins.io/zh/doc/pipeline/tour/getting-started/
- https://www.cnblogs.com/wfd360/p/11314697.html
配置 git windows
配置 mvn windows
- https://maven.apache.org/guides/getting-started/windows-prerequisites.html
- 遇到问题:正确安装mvn,还是找不到,需要重启。
升级版本
1 | # 替换下载的 war 包 |
配置 jenkins 插件中心为国内镜像地址
1 | 进入 Manage Jenkins -》 Manage Plugin -> Advanced 最下面有 Update Site, |
Failure running any sh operations on Windows
1 | Windows machines don’t have sh support from the Jenkins Pipeline. Use bat or powershell. |
Jenkins Docker error: Invalid agent type
1 | Invalid agent type "docker" specified. Must be one of [any, label, none]. |