ci: 增加多任务并行构建数限制

This commit is contained in:
BugKing 2022-08-02 14:52:43 +08:00 committed by 刘瑞斌
parent 0130c49c12
commit d4c4558360
1 changed files with 9 additions and 0 deletions

9
Jenkinsfile vendored
View File

@ -1,3 +1,12 @@
properties([ [ $class: 'ThrottleJobProperty',
categories: ['metersphere'],
limitOneJobWithMatchingParams: false,
maxConcurrentPerNode: 1,
maxConcurrentTotal: 1,
paramsToUseForLimit: '',
throttleEnabled: true,
throttleOption: 'category' ] ])
pipeline {
agent {
node {