From 8a63d7a2a0a9d46b0b399e5c9376b9f13d6b67ee Mon Sep 17 00:00:00 2001 From: Wayne Date: Sat, 31 Jan 2015 12:27:51 -0800 Subject: Update 'timeout' wrapper module Add support specifically for BuildTimeoutWrapper plugin version 1.14 and later; leave module behavior intact for previous versions. Change-Id: I6e9459271172540eda4fdb576d788fa2ae6f4d68 --- jenkins_jobs/modules/wrappers.py | 170 +++++++++++++++++---- tests/wrappers/fixtures/timeout/timeout001.xml | 14 ++ tests/wrappers/fixtures/timeout/timeout001.yaml | 6 + tests/wrappers/fixtures/timeout/timeout002.xml | 13 ++ tests/wrappers/fixtures/timeout/timeout002.yaml | 4 + tests/wrappers/fixtures/timeout/timeout003.xml | 14 ++ tests/wrappers/fixtures/timeout/timeout003.yaml | 7 + .../version-1.14/absolute001.plugins_info.yaml | 1 + .../fixtures/timeout/version-1.14/absolute001.xml | 14 ++ .../fixtures/timeout/version-1.14/absolute001.yaml | 6 + .../version-1.14/elastic001.plugins_info.yaml | 1 + .../fixtures/timeout/version-1.14/elastic001.xml | 16 ++ .../fixtures/timeout/version-1.14/elastic001.yaml | 8 + .../version-1.14/likely-stuck001.plugins_info.yaml | 1 + .../timeout/version-1.14/likely-stuck001.xml | 14 ++ .../timeout/version-1.14/likely-stuck001.yaml | 6 + .../version-1.14/no-action001.plugins_info.yaml | 1 + .../fixtures/timeout/version-1.14/no-action001.xml | 14 ++ .../timeout/version-1.14/no-action001.yaml | 5 + .../version-1.14/no-activity001.plugins_info.yaml | 1 + .../timeout/version-1.14/no-activity001.xml | 17 +++ .../timeout/version-1.14/no-activity001.yaml | 7 + .../timeout/version-1.14/plugins_info.yaml | 3 + tests/wrappers/fixtures/timeout001.xml | 14 -- tests/wrappers/fixtures/timeout001.yaml | 6 - tests/wrappers/fixtures/timeout002.xml | 13 -- tests/wrappers/fixtures/timeout002.yaml | 4 - tests/wrappers/fixtures/timeout003.xml | 14 -- tests/wrappers/fixtures/timeout003.yaml | 7 - 29 files changed, 312 insertions(+), 89 deletions(-) create mode 100644 tests/wrappers/fixtures/timeout/timeout001.xml create mode 100644 tests/wrappers/fixtures/timeout/timeout001.yaml create mode 100644 tests/wrappers/fixtures/timeout/timeout002.xml create mode 100644 tests/wrappers/fixtures/timeout/timeout002.yaml create mode 100644 tests/wrappers/fixtures/timeout/timeout003.xml create mode 100644 tests/wrappers/fixtures/timeout/timeout003.yaml create mode 120000 tests/wrappers/fixtures/timeout/version-1.14/absolute001.plugins_info.yaml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/absolute001.xml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/absolute001.yaml create mode 120000 tests/wrappers/fixtures/timeout/version-1.14/elastic001.plugins_info.yaml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/elastic001.xml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/elastic001.yaml create mode 120000 tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.plugins_info.yaml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.xml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.yaml create mode 120000 tests/wrappers/fixtures/timeout/version-1.14/no-action001.plugins_info.yaml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/no-action001.xml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/no-action001.yaml create mode 120000 tests/wrappers/fixtures/timeout/version-1.14/no-activity001.plugins_info.yaml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/no-activity001.xml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/no-activity001.yaml create mode 100644 tests/wrappers/fixtures/timeout/version-1.14/plugins_info.yaml delete mode 100644 tests/wrappers/fixtures/timeout001.xml delete mode 100644 tests/wrappers/fixtures/timeout001.yaml delete mode 100644 tests/wrappers/fixtures/timeout002.xml delete mode 100644 tests/wrappers/fixtures/timeout002.yaml delete mode 100644 tests/wrappers/fixtures/timeout003.xml delete mode 100644 tests/wrappers/fixtures/timeout003.yaml diff --git a/jenkins_jobs/modules/wrappers.py b/jenkins_jobs/modules/wrappers.py index e0a6bb37..8579b10b 100644 --- a/jenkins_jobs/modules/wrappers.py +++ b/jenkins_jobs/modules/wrappers.py @@ -24,11 +24,16 @@ Wrappers can alter the way the build is run as well as the build output. import logging import xml.etree.ElementTree as XML +import pkg_resources import jenkins_jobs.modules.base -from jenkins_jobs.errors import JenkinsJobsException +from jenkins_jobs.errors import (JenkinsJobsException, InvalidAttributeError) from jenkins_jobs.modules.builders import create_builders from jenkins_jobs.modules.helpers import config_file_provider_builder +logger = logging.getLogger(__name__) + +MIN_TO_SEC = 60 + def ci_skip(parser, xml_parent, data): """yaml: ci-skip @@ -129,50 +134,153 @@ def timeout(parser, xml_parent, data): `. :arg bool fail: Mark the build as failed (default false) + :arg bool abort: Mark the build as aborted (default false) :arg bool write-description: Write a message in the description (default false) :arg int timeout: Abort the build after this number of minutes (default 3) :arg str timeout-var: Export an environment variable to reference the timeout value (optional) :arg str type: Timeout type to use (default absolute) + :type values: + * **likely-stuck** + * **no-activity** + * **elastic** + * **absolute** + :arg int elastic-percentage: Percentage of the three most recent builds - where to declare a timeout (default 0) + where to declare a timeout, only applies to **elastic** type. + (default 0) + :arg int elastic-number-builds: Number of builds to consider computing + average duration, only applies to **elastic** type. (default 3) :arg int elastic-default-timeout: Timeout to use if there were no previous - builds (default 3) + builds, only applies to **elastic** type. (default 3) - :type values: - * **likely-stuck** - * **elastic** - * **absolute** + Example (Version < 1.14): - Example: + .. literalinclude:: /../../tests/wrappers/fixtures/timeout/timeout001.yaml + + .. literalinclude:: /../../tests/wrappers/fixtures/timeout/timeout002.yaml - .. literalinclude:: /../../tests/wrappers/fixtures/timeout001.yaml + .. literalinclude:: /../../tests/wrappers/fixtures/timeout/timeout003.yaml - .. literalinclude:: /../../tests/wrappers/fixtures/timeout002.yaml + Example (Version >= 1.14): + + .. literalinclude:: + /../../tests/wrappers/fixtures/timeout/version-1.14/absolute001.yaml + + .. literalinclude:: + /../../tests/wrappers/fixtures/timeout/version-1.14/no-activity001.yaml + + .. literalinclude:: + /../../tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.yaml + + .. literalinclude:: + /../../tests/wrappers/fixtures/timeout/version-1.14/elastic001.yaml - .. literalinclude:: /../../tests/wrappers/fixtures/timeout003.yaml """ - twrapper = XML.SubElement(xml_parent, - 'hudson.plugins.build__timeout.' - 'BuildTimeoutWrapper') - XML.SubElement(twrapper, 'timeoutMinutes').text = str( - data.get('timeout', 3)) - timeout_env_var = data.get('timeout-var') - if timeout_env_var: - XML.SubElement(twrapper, 'timeoutEnvVar').text = str(timeout_env_var) - XML.SubElement(twrapper, 'failBuild').text = str( - data.get('fail', 'false')).lower() - XML.SubElement(twrapper, 'writingDescription').text = str( - data.get('write-description', 'false')).lower() - XML.SubElement(twrapper, 'timeoutPercentage').text = str( - data.get('elastic-percentage', 0)) - XML.SubElement(twrapper, 'timeoutMinutesElasticDefault').text = str( - data.get('elastic-default-timeout', 3)) - tout_type = str(data.get('type', 'absolute')).lower() - if tout_type == 'likely-stuck': - tout_type = 'likelyStuck' - XML.SubElement(twrapper, 'timeoutType').text = tout_type + prefix = 'hudson.plugins.build__timeout.' + twrapper = XML.SubElement(xml_parent, prefix + 'BuildTimeoutWrapper') + + plugin_info = parser.registry.get_plugin_info( + "Jenkins build timeout plugin") + version = pkg_resources.parse_version(plugin_info.get("version", "0")) + + valid_strategies = ['absolute', 'no-activity', 'likely-stuck', 'elastic'] + + if version >= pkg_resources.parse_version("1.14"): + strategy = data.get('type', 'absolute') + if strategy not in valid_strategies: + InvalidAttributeError('type', strategy, valid_strategies) + + if strategy == "absolute": + strategy_element = XML.SubElement( + twrapper, 'strategy', + {'class': "hudson.plugins.build_timeout." + "impl.AbsoluteTimeOutStrategy"}) + XML.SubElement(strategy_element, 'timeoutMinutes' + ).text = str(data.get('timeout', 3)) + elif strategy == "no-activity": + strategy_element = XML.SubElement( + twrapper, 'strategy', + {'class': "hudson.plugins.build_timeout." + "impl.NoActivityTimeOutStrategy"}) + timeout_sec = int(data.get('timeout', 3)) * MIN_TO_SEC + XML.SubElement(strategy_element, + 'timeoutSecondsString').text = str(timeout_sec) + elif strategy == "likely-stuck": + strategy_element = XML.SubElement( + twrapper, 'strategy', + {'class': "hudson.plugins.build_timeout." + "impl.LikelyStuckTimeOutStrategy"}) + XML.SubElement(strategy_element, + 'timeoutMinutes').text = str(data.get('timeout', 3)) + elif strategy == "elastic": + strategy_element = XML.SubElement( + twrapper, 'strategy', + {'class': "hudson.plugins.build_timeout." + "impl.ElasticTimeOutStrategy"}) + XML.SubElement(strategy_element, 'timeoutPercentage' + ).text = str(data.get('elastic-percentage', 0)) + XML.SubElement(strategy_element, 'numberOfBuilds' + ).text = str(data.get('elastic-number-builds', 0)) + XML.SubElement(strategy_element, 'timeoutMinutesElasticDefault' + ).text = str(data.get('elastic-default-timeout', 3)) + + actions = [] + + for action in ['fail', 'abort']: + if str(data.get(action, 'false')).lower() == 'true': + actions.append(action) + + # Set the default action to "abort" + if len(actions) == 0: + actions.append("abort") + + description = data.get('write-description', None) + if description is not None: + actions.append('write-description') + + operation_list = XML.SubElement(twrapper, 'operationList') + + for action in actions: + fmt_str = prefix + "operations.{0}Operation" + if action == "abort": + XML.SubElement(operation_list, fmt_str.format("Abort")) + elif action == "fail": + XML.SubElement(operation_list, fmt_str.format("Fail")) + elif action == "write-description": + write_description = XML.SubElement( + operation_list, fmt_str.format("WriteDescription")) + XML.SubElement(write_description, "description" + ).text = description + else: + raise JenkinsJobsException("Unsupported BuiltTimeoutWrapper " + "plugin action: {0}".format(action)) + timeout_env_var = data.get('timeout-var') + if timeout_env_var: + XML.SubElement(twrapper, + 'timeoutEnvVar').text = str(timeout_env_var) + else: + XML.SubElement(twrapper, + 'timeoutMinutes').text = str(data.get('timeout', 3)) + timeout_env_var = data.get('timeout-var') + if timeout_env_var: + XML.SubElement(twrapper, + 'timeoutEnvVar').text = str(timeout_env_var) + XML.SubElement(twrapper, 'failBuild' + ).text = str(data.get('fail', 'false')).lower() + XML.SubElement(twrapper, 'writingDescription' + ).text = str(data.get('write-description', 'false') + ).lower() + XML.SubElement(twrapper, 'timeoutPercentage' + ).text = str(data.get('elastic-percentage', 0)) + XML.SubElement(twrapper, 'timeoutMinutesElasticDefault' + ).text = str(data.get('elastic-default-timeout', 3)) + + tout_type = str(data.get('type', 'absolute')).lower() + if tout_type == 'likely-stuck': + tout_type = 'likelyStuck' + XML.SubElement(twrapper, 'timeoutType').text = tout_type def timestamps(parser, xml_parent, data): diff --git a/tests/wrappers/fixtures/timeout/timeout001.xml b/tests/wrappers/fixtures/timeout/timeout001.xml new file mode 100644 index 00000000..8e6fbd82 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/timeout001.xml @@ -0,0 +1,14 @@ + + + + + 90 + BUILD_TIMEOUT + true + false + 0 + 3 + absolute + + + diff --git a/tests/wrappers/fixtures/timeout/timeout001.yaml b/tests/wrappers/fixtures/timeout/timeout001.yaml new file mode 100644 index 00000000..0d286ab5 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/timeout001.yaml @@ -0,0 +1,6 @@ +wrappers: + - timeout: + timeout: 90 + timeout-var: 'BUILD_TIMEOUT' + fail: true + type: absolute diff --git a/tests/wrappers/fixtures/timeout/timeout002.xml b/tests/wrappers/fixtures/timeout/timeout002.xml new file mode 100644 index 00000000..b7e1c68f --- /dev/null +++ b/tests/wrappers/fixtures/timeout/timeout002.xml @@ -0,0 +1,13 @@ + + + + + 3 + false + false + 0 + 3 + likelyStuck + + + \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout/timeout002.yaml b/tests/wrappers/fixtures/timeout/timeout002.yaml new file mode 100644 index 00000000..1993efca --- /dev/null +++ b/tests/wrappers/fixtures/timeout/timeout002.yaml @@ -0,0 +1,4 @@ +wrappers: + - timeout: + fail: false + type: likely-stuck diff --git a/tests/wrappers/fixtures/timeout/timeout003.xml b/tests/wrappers/fixtures/timeout/timeout003.xml new file mode 100644 index 00000000..727d9a33 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/timeout003.xml @@ -0,0 +1,14 @@ + + + + + 3 + BUILD_TIMEOUT + true + false + 150 + 90 + elastic + + + diff --git a/tests/wrappers/fixtures/timeout/timeout003.yaml b/tests/wrappers/fixtures/timeout/timeout003.yaml new file mode 100644 index 00000000..ff948058 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/timeout003.yaml @@ -0,0 +1,7 @@ + wrappers: + - timeout: + timeout-var: 'BUILD_TIMEOUT' + fail: true + elastic-percentage: 150 + elastic-default-timeout: 90 + type: elastic diff --git a/tests/wrappers/fixtures/timeout/version-1.14/absolute001.plugins_info.yaml b/tests/wrappers/fixtures/timeout/version-1.14/absolute001.plugins_info.yaml new file mode 120000 index 00000000..31c7817b --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/absolute001.plugins_info.yaml @@ -0,0 +1 @@ +plugins_info.yaml \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout/version-1.14/absolute001.xml b/tests/wrappers/fixtures/timeout/version-1.14/absolute001.xml new file mode 100644 index 00000000..cbbb0d35 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/absolute001.xml @@ -0,0 +1,14 @@ + + + + + + 90 + + + + + BUILD_TIMEOUT + + + diff --git a/tests/wrappers/fixtures/timeout/version-1.14/absolute001.yaml b/tests/wrappers/fixtures/timeout/version-1.14/absolute001.yaml new file mode 100644 index 00000000..0d286ab5 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/absolute001.yaml @@ -0,0 +1,6 @@ +wrappers: + - timeout: + timeout: 90 + timeout-var: 'BUILD_TIMEOUT' + fail: true + type: absolute diff --git a/tests/wrappers/fixtures/timeout/version-1.14/elastic001.plugins_info.yaml b/tests/wrappers/fixtures/timeout/version-1.14/elastic001.plugins_info.yaml new file mode 120000 index 00000000..31c7817b --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/elastic001.plugins_info.yaml @@ -0,0 +1 @@ +plugins_info.yaml \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout/version-1.14/elastic001.xml b/tests/wrappers/fixtures/timeout/version-1.14/elastic001.xml new file mode 100644 index 00000000..b1011d54 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/elastic001.xml @@ -0,0 +1,16 @@ + + + + + + 150 + 14 + 3 + + + + + BUILD_TIMEOUT + + + diff --git a/tests/wrappers/fixtures/timeout/version-1.14/elastic001.yaml b/tests/wrappers/fixtures/timeout/version-1.14/elastic001.yaml new file mode 100644 index 00000000..52962cf9 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/elastic001.yaml @@ -0,0 +1,8 @@ +wrappers: + - timeout: + elastic-percentage: 150 + elastic-default-timeout: 3 + elastic-number-builds: 14 + timeout-var: 'BUILD_TIMEOUT' + abort: true + type: elastic diff --git a/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.plugins_info.yaml b/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.plugins_info.yaml new file mode 120000 index 00000000..31c7817b --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.plugins_info.yaml @@ -0,0 +1 @@ +plugins_info.yaml \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.xml b/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.xml new file mode 100644 index 00000000..3a2d38ed --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.xml @@ -0,0 +1,14 @@ + + + + + + 90 + + + + + BUILD_TIMEOUT + + + diff --git a/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.yaml b/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.yaml new file mode 100644 index 00000000..a09dcd80 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/likely-stuck001.yaml @@ -0,0 +1,6 @@ +wrappers: + - timeout: + timeout: 90 + timeout-var: 'BUILD_TIMEOUT' + abort: true + type: likely-stuck diff --git a/tests/wrappers/fixtures/timeout/version-1.14/no-action001.plugins_info.yaml b/tests/wrappers/fixtures/timeout/version-1.14/no-action001.plugins_info.yaml new file mode 120000 index 00000000..31c7817b --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/no-action001.plugins_info.yaml @@ -0,0 +1 @@ +plugins_info.yaml \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout/version-1.14/no-action001.xml b/tests/wrappers/fixtures/timeout/version-1.14/no-action001.xml new file mode 100644 index 00000000..b24b9689 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/no-action001.xml @@ -0,0 +1,14 @@ + + + + + + 90 + + + + + BUILD_TIMEOUT + + + diff --git a/tests/wrappers/fixtures/timeout/version-1.14/no-action001.yaml b/tests/wrappers/fixtures/timeout/version-1.14/no-action001.yaml new file mode 100644 index 00000000..eb320f55 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/no-action001.yaml @@ -0,0 +1,5 @@ +wrappers: + - timeout: + timeout: 90 + timeout-var: 'BUILD_TIMEOUT' + type: absolute diff --git a/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.plugins_info.yaml b/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.plugins_info.yaml new file mode 120000 index 00000000..31c7817b --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.plugins_info.yaml @@ -0,0 +1 @@ +plugins_info.yaml \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.xml b/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.xml new file mode 100644 index 00000000..ff6ffa6b --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.xml @@ -0,0 +1,17 @@ + + + + + + 300 + + + + + Blah Blah Blah + + + BUILD_TIMEOUT + + + diff --git a/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.yaml b/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.yaml new file mode 100644 index 00000000..76141246 --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/no-activity001.yaml @@ -0,0 +1,7 @@ +wrappers: + - timeout: + timeout: 5 + timeout-var: 'BUILD_TIMEOUT' + type: no-activity + abort: true + write-description: "Blah Blah Blah" diff --git a/tests/wrappers/fixtures/timeout/version-1.14/plugins_info.yaml b/tests/wrappers/fixtures/timeout/version-1.14/plugins_info.yaml new file mode 100644 index 00000000..618c6bea --- /dev/null +++ b/tests/wrappers/fixtures/timeout/version-1.14/plugins_info.yaml @@ -0,0 +1,3 @@ +- longName: 'Jenkins build timeout plugin' + shortName: 'build-timeout' + version: "1.14" diff --git a/tests/wrappers/fixtures/timeout001.xml b/tests/wrappers/fixtures/timeout001.xml deleted file mode 100644 index 34e0e287..00000000 --- a/tests/wrappers/fixtures/timeout001.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - 90 - BUILD_TIMEOUT - true - false - 0 - 3 - absolute - - - \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout001.yaml b/tests/wrappers/fixtures/timeout001.yaml deleted file mode 100644 index 0d286ab5..00000000 --- a/tests/wrappers/fixtures/timeout001.yaml +++ /dev/null @@ -1,6 +0,0 @@ -wrappers: - - timeout: - timeout: 90 - timeout-var: 'BUILD_TIMEOUT' - fail: true - type: absolute diff --git a/tests/wrappers/fixtures/timeout002.xml b/tests/wrappers/fixtures/timeout002.xml deleted file mode 100644 index b7e1c68f..00000000 --- a/tests/wrappers/fixtures/timeout002.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - 3 - false - false - 0 - 3 - likelyStuck - - - \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout002.yaml b/tests/wrappers/fixtures/timeout002.yaml deleted file mode 100644 index 1993efca..00000000 --- a/tests/wrappers/fixtures/timeout002.yaml +++ /dev/null @@ -1,4 +0,0 @@ -wrappers: - - timeout: - fail: false - type: likely-stuck diff --git a/tests/wrappers/fixtures/timeout003.xml b/tests/wrappers/fixtures/timeout003.xml deleted file mode 100644 index c62d6ea7..00000000 --- a/tests/wrappers/fixtures/timeout003.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - 3 - BUILD_TIMEOUT - true - false - 150 - 90 - elastic - - - \ No newline at end of file diff --git a/tests/wrappers/fixtures/timeout003.yaml b/tests/wrappers/fixtures/timeout003.yaml deleted file mode 100644 index ff948058..00000000 --- a/tests/wrappers/fixtures/timeout003.yaml +++ /dev/null @@ -1,7 +0,0 @@ - wrappers: - - timeout: - timeout-var: 'BUILD_TIMEOUT' - fail: true - elastic-percentage: 150 - elastic-default-timeout: 90 - type: elastic -- cgit