jenkins-job-builder/tests/properties/fixtures/throttle002.xml
akulakhan e9702144be Add matching parameter to throttle concurrent jobs
Change-Id: I6d211508d774df2312942d56a840bf311bb455d4
Co-Authored-By: Tan Heng Yeow <E0032242@u.nus.edu>
Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu>
2018-08-01 23:35:25 +08:00

23 lines
862 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<properties>
<hudson.plugins.throttleconcurrents.ThrottleJobProperty>
<maxConcurrentPerNode>0</maxConcurrentPerNode>
<maxConcurrentTotal>0</maxConcurrentTotal>
<throttleEnabled>true</throttleEnabled>
<categories>
<string>cat1</string>
<string>cat2</string>
</categories>
<throttleOption>project</throttleOption>
<configVersion>1</configVersion>
<limitOneJobWithMatchingParams>true</limitOneJobWithMatchingParams>
<matrixOptions>
<throttleMatrixBuilds>true</throttleMatrixBuilds>
<throttleMatrixConfigurations>false</throttleMatrixConfigurations>
</matrixOptions>
<paramsToUseForLimit>param1,param2</paramsToUseForLimit>
</hudson.plugins.throttleconcurrents.ThrottleJobProperty>
</properties>
</project>