Index: scripts/master/try_job_gerrit.py |
diff --git a/scripts/master/try_job_gerrit.py b/scripts/master/try_job_gerrit.py |
index d32876448d1d9731d3c248b20ee5bfdacef01bc4..177e2e5b9ca44c60ef00f9cfff8866b197e47c35 100644 |
--- a/scripts/master/try_job_gerrit.py |
+++ b/scripts/master/try_job_gerrit.py |
@@ -55,7 +55,7 @@ class _TryJobGerritPoller(GerritPoller): |
change_category = 'tryjob' |
- MESSAGE_REGEX_TRYJOB = re.compile('Patch set \d+:\s+\!tryjob(.*)', re.I) |
+ MESSAGE_REGEX_TRYJOB = re.compile('!tryjob(.*)$', re.I) |
def __init__(self, scheduler, gerrit_host, gerrit_projects=None, |
pollInterval=None): |