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

This commit is contained in:
BugKing 2022-08-02 14:52:43 +08:00 committed by 刘瑞斌
parent a624265526
commit f3a134c16f
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 { pipeline {
agent { agent {
node { node {