Skip to content

Commit

Permalink
Bug 1208104 - Turn off triggering for Windows as a temporary measure.
Browse files Browse the repository at this point in the history
  • Loading branch information
chmanchester committed Sep 24, 2015
1 parent 8b665e5 commit 8ff37bd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions triggerbot/triggerbot_pulse.py
Expand Up @@ -35,6 +35,8 @@ def extract_payload(payload, key):
builder = prop[1]
if prop[0] == 'branch':
branch = prop[1]
if prop[0] == 'platform':
platform = prop[1]

if rev and len(rev) > 12:
rev = rev[:12]
Expand All @@ -57,6 +59,11 @@ def extract_payload(payload, key):
branch)
match = unittest_re.match(key)

# Bug 1208104: Force triggering off for Windows testers until
# we have control of the backlog.
if platform in ('win64', 'win32'):

This comment has been minimized.

Copy link
@armenzg

armenzg Sep 24, 2015

Collaborator

I would say you use startwith() just in case we have things like "win64-debug" or "win64-pgo".

match = None

return branch, rev, builder, status, match is not None, comments, user


Expand All @@ -71,8 +78,6 @@ def handle_message(data, message):
is_test]):
return

# logger.info('Saw %s at %s with "%s"' % (user, rev, comments))

tw.handle_message(key, branch, rev, builder, status, comments, user)


Expand Down

0 comments on commit 8ff37bd

Please sign in to comment.