diff options
author | tanhengyeow <E0032242@u.nus.edu> | 2018-08-09 18:04:16 +0800 |
---|---|---|
committer | tanhengyeow <E0032242@u.nus.edu> | 2018-08-16 22:20:07 +0800 |
commit | 2d80dd00d49397563f111123b7dea5823d76877d (patch) | |
tree | d52ba6b030f6685839e8d04a4fdbbc534b76d48b /tests | |
parent | b23394b47bac956765e682acc93d2c4debb8b0e7 (diff) | |
download | python-jenkins-job-builder-2d80dd00d49397563f111123b7dea5823d76877d.tar.gz python-jenkins-job-builder-2d80dd00d49397563f111123b7dea5823d76877d.tar.xz python-jenkins-job-builder-2d80dd00d49397563f111123b7dea5823d76877d.zip |
branch-api: Support skip-rate-limit param
Change-Id: I4d86b24519381cc76e669f89d8e313f9c30ad999
Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/properties/fixtures/branch-api-full.xml | 1 | ||||
-rw-r--r-- | tests/properties/fixtures/branch-api-full.yaml | 1 | ||||
-rw-r--r-- | tests/properties/fixtures/branch-api-minimal.xml | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/properties/fixtures/branch-api-full.xml b/tests/properties/fixtures/branch-api-full.xml index e919921e..90832bac 100644 --- a/tests/properties/fixtures/branch-api-full.xml +++ b/tests/properties/fixtures/branch-api-full.xml @@ -4,6 +4,7 @@ <jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl plugin="branch-api"> <durationName>Day</durationName> <count>5</count> + <userBoost>true</userBoost> </jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl> </properties> </project> diff --git a/tests/properties/fixtures/branch-api-full.yaml b/tests/properties/fixtures/branch-api-full.yaml index 0b73a0e7..6adc44c7 100644 --- a/tests/properties/fixtures/branch-api-full.yaml +++ b/tests/properties/fixtures/branch-api-full.yaml @@ -2,3 +2,4 @@ properties: - branch-api: time-period: Day number-of-builds: 5 + skip-rate-limit: true diff --git a/tests/properties/fixtures/branch-api-minimal.xml b/tests/properties/fixtures/branch-api-minimal.xml index 23e29ded..f483478f 100644 --- a/tests/properties/fixtures/branch-api-minimal.xml +++ b/tests/properties/fixtures/branch-api-minimal.xml @@ -4,6 +4,7 @@ <jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl plugin="branch-api"> <durationName>Hour</durationName> <count>1</count> + <userBoost>false</userBoost> </jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl> </properties> </project> |