0
点赞
收藏
分享

微信扫一扫

Jenkins, 通用配置

其生 2022-01-06 阅读 102
jenkinsci

1. 通用配置项

  • Discard old builds
  • This build requires lockable resources
  • This project is parameterized
  • Throttle builds
  • Disable this project
  • Execute concurrent builds if necessary

image.png

2. Discard old builds

通过时间/次数来清理历史构造数据, 减少磁盘占用

image.png

3. This build requires lockable resources

构建之间增加锁机制

4. This project is parameterized

工程添加自定义参数, 支持多种类型: boolean, Choice, File, Password, Text, String等
image.png

5. Throttle builds

限制工程构造频率, 如每分钟仅构建1次
image.png

6. Disable this project

使工程失效, 调试时可以使用

7. Execute concurrent builds if necessary

默认情况下, 工程在某个时刻只能执行1个构建
勾选后, 支持并行构建

举报

相关推荐

0 条评论