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

This commit is contained in:
BugKing 2022-08-02 14:52:43 +08:00 committed by f2c-ci-robot[bot]
parent df649f8579
commit d164a55117
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 {