1. 通用配置项
- Discard old builds
- This build requires lockable resources
- This project is parameterized
- Throttle builds
- Disable this project
- Execute concurrent builds if necessary
2. Discard old builds
通过时间/次数来清理历史构造数据, 减少磁盘占用
This determines when, if ever, build records for this project should be discarded. Build records include the console output, archived artifacts, and any other metadata related to a particular build.
Keeping fewer builds means less disk space will be used in the Build Record Root Directory, which is specified on the Configure System screen.Jenkins offers two options for determining when builds should be discarded:
- Build age: discard builds when they reach a certain age; for example, seven days old.
- Build count: discard the oldest build when a certain number of builds already exist.
3. This build requires lockable resources
构建之间增加锁机制
4. This project is parameterized
工程添加自定义参数, 支持多种类型: boolean, Choice, File, Password, Text, String等
5. Throttle builds
限制工程构造频率, 如每分钟仅构建1次
6. Disable this project
使工程失效, 调试时可以使用
When this option is checked, no new builds of this project will be executed.
This can be helpful when you want to temporarily prevent a project from being built.
7. Execute concurrent builds if necessary
默认情况下, 工程在某个时刻只能执行1个构建
勾选后, 支持并行构建