diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-10-04 14:54:40 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-10-09 19:37:10 -0700 |
commit | 7f51d0163133fc04e30d36bff120a94633680bcd (patch) | |
tree | a099c35285e3403753d5403d02a2d4bdd6e82a5c /tests | |
parent | 20f561c55d490fc428729c10e2efd20cd6920c0e (diff) | |
download | python-jenkins-job-builder-7f51d0163133fc04e30d36bff120a94633680bcd.tar.gz python-jenkins-job-builder-7f51d0163133fc04e30d36bff120a94633680bcd.tar.xz python-jenkins-job-builder-7f51d0163133fc04e30d36bff120a94633680bcd.zip |
Fix 'block-level' Build Blocker Plugin Property
In the process of taking advantage of 'convert_mapping_to_xml()',
commit:7ebe78979166e36a038a116788c33383878ced20 renamed 'block-level' to
'blocking-level' in the build-blocker property.
Another unrelated commit modified the test to use 'block_level' instead
of 'block-level'.
Change-Id: I2dd642ec4966c4c48e0a35e986a69b3b74803358
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/properties/fixtures/build-blocker-full.xml | 2 | ||||
-rw-r--r-- | tests/properties/fixtures/build-blocker-full.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/properties/fixtures/build-blocker-full.xml b/tests/properties/fixtures/build-blocker-full.xml index 7ae82b71..af3a80bc 100644 --- a/tests/properties/fixtures/build-blocker-full.xml +++ b/tests/properties/fixtures/build-blocker-full.xml @@ -5,7 +5,7 @@ <useBuildBlocker>true</useBuildBlocker> <blockingJobs>.*-deploy ^maintenance.*</blockingJobs> - <blockLevel>GLOBAL</blockLevel> + <blockLevel>NODE</blockLevel> <scanQueueFor>BUILDABLE</scanQueueFor> </hudson.plugins.buildblocker.BuildBlockerProperty> </properties> diff --git a/tests/properties/fixtures/build-blocker-full.yaml b/tests/properties/fixtures/build-blocker-full.yaml index b80d833d..fbe49244 100644 --- a/tests/properties/fixtures/build-blocker-full.yaml +++ b/tests/properties/fixtures/build-blocker-full.yaml @@ -4,5 +4,5 @@ properties: blocking-jobs: - ".*-deploy" - "^maintenance.*" - block_level: 'GLOBAL' + block-level: 'NODE' queue-scanning: 'BUILDABLE' |