aboutsummaryrefslogtreecommitdiff
path: root/utils/mangle-jobs/build-timeout-set.mangle
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mangle-jobs/build-timeout-set.mangle')
-rw-r--r--utils/mangle-jobs/build-timeout-set.mangle15
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/mangle-jobs/build-timeout-set.mangle b/utils/mangle-jobs/build-timeout-set.mangle
deleted file mode 100644
index 9c4b113..0000000
--- a/utils/mangle-jobs/build-timeout-set.mangle
+++ /dev/null
@@ -1,15 +0,0 @@
-# Update default build timeout value to new default.
-# Don't touch custom timeout times
-
-OLD_DEFAULT = "275"
-NEW_DEFAULT = "375"
-
-
-def mangle(tree):
- tags = tree.xpath("//hudson.plugins.build__timeout.BuildTimeoutWrapper/timeoutMinutes")
- if not tags:
- return False
- tag = tags[0]
- if tag.text != OLD_DEFAULT:
- return False
- tag.text = NEW_DEFAULT