summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/complete001.xml
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-02-08 20:55:26 +0000
committerGerrit Code Review <review@openstack.org>2018-02-08 20:55:26 +0000
commited07d8fa94043040ebf307bce5d17fdb59c9f10a (patch)
treec7a2a472ab54a3a3e77c9fcbb9c954da4ab7e99a /tests/yamlparser/fixtures/complete001.xml
parent308aec601e7d99eb0c7b01219c255206b3c90f35 (diff)
parentecf3933dc2ce6d0eeca3e73946f62fbec606a36d (diff)
downloadpython-jenkins-job-builder-ed07d8fa94043040ebf307bce5d17fdb59c9f10a.tar.gz
python-jenkins-job-builder-ed07d8fa94043040ebf307bce5d17fdb59c9f10a.tar.xz
python-jenkins-job-builder-ed07d8fa94043040ebf307bce5d17fdb59c9f10a.zip
Merge "Fix timeout wrapper version detection"
Diffstat (limited to 'tests/yamlparser/fixtures/complete001.xml')
-rw-r--r--tests/yamlparser/fixtures/complete001.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/yamlparser/fixtures/complete001.xml b/tests/yamlparser/fixtures/complete001.xml
index f6c5192d..546fd5e6 100644
--- a/tests/yamlparser/fixtures/complete001.xml
+++ b/tests/yamlparser/fixtures/complete001.xml
@@ -114,12 +114,14 @@ print(&quot;Doing something cool with python&quot;)
<publishers/>
<buildWrappers>
<hudson.plugins.build__timeout.BuildTimeoutWrapper>
- <timeoutMinutes>3</timeoutMinutes>
- <failBuild>true</failBuild>
- <writingDescription>false</writingDescription>
- <timeoutPercentage>150</timeoutPercentage>
- <timeoutMinutesElasticDefault>90</timeoutMinutesElasticDefault>
- <timeoutType>elastic</timeoutType>
+ <strategy class="hudson.plugins.build_timeout.impl.ElasticTimeOutStrategy">
+ <timeoutPercentage>150</timeoutPercentage>
+ <numberOfBuilds>0</numberOfBuilds>
+ <timeoutMinutesElasticDefault>90</timeoutMinutesElasticDefault>
+ </strategy>
+ <operationList>
+ <hudson.plugins.build__timeout.operations.FailOperation/>
+ </operationList>
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
<org.jenkinsci.plugins.preSCMbuildstep.PreSCMBuildStepsWrapper>
<buildSteps>