catch more try builds
authorChris AtLee <catlee@mozilla.com>
Tue, 23 Apr 2013 15:03:54 -0400
changeset 195 75af9430055d9eed32f82f1eaef81b30ba3644f1
parent 194 4ab8778b3b174bf31eb8a6628b43f2c498552e6b
child 196 ee441d9cf38bccac9e09134f01e0f536ec38c146
push id153
push usercatlee@mozilla.com
push dateTue, 23 Apr 2013 19:04:11 +0000
catch more try builds
buildapi/scripts/selfserve-agent.py
--- a/buildapi/scripts/selfserve-agent.py
+++ b/buildapi/scripts/selfserve-agent.py
@@ -136,17 +136,17 @@ class BuildAPIAgent:
         build is cancelled via self-serve"""
         # Generally the following don't need clobbering:
         # * try builds
         # * nightly builds
         # * tests
         # This doesn't have to be perfect. If we return True incorrectly, we
         # need to load the buildbot page to figure out which slave is doing a
         # job, but the subsequent clobber is a noop.
-        dont_clobber = ['nightly', ' try ', 'talos', 'pgo test', 'opt test', 'debug test']
+        dont_clobber = ['nightly', ' try ', '_try_', 'talos', 'pgo test', 'opt test', 'debug test']
         for c in dont_clobber:
             if c in builder_name:
                 return False
         return True
 
     def _cancel_build(self, claimed_by_name, builder_name, build_number, who, comments):
         cancel_url = self._get_cancel_url(claimed_by_name, builder_name, build_number)
         if not self._can_cancel_build(claimed_by_name, builder_name, build_number, who, comments):