Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: appengine/findit/waterfall/try_job_enums.py

Issue 1591003002: [Findit] Modify tryjob pipelines to trigger try jobs for test failure. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python
2 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 3 # found in the LICENSE file.
5 4
6 import sys
7 5
8 from infra.tools.cq_stats import cq_stats 6 class TryJobType():
7 type_compile = 'compile'
stgao 2016/01/28 19:33:52 IIRC, constant usually use upper-case instead of l
chanli 2016/01/28 22:40:12 Done.
8 type_test = 'test'
stgao 2016/01/28 19:33:52 It seems the 'type' in the var name is a bit redun
chanli 2016/01/28 22:40:12 Done.
9 9
10 10
11 if __name__ == '__main__': 11 class TryJobStatus():
stgao 2016/01/28 19:33:52 It seems duplicating common.buildbucket_client.Bui
chanli 2016/01/28 22:40:12 Done.
12 sys.exit(cq_stats.main()) 12 scheduled = 'SCHEDULED'
13 started = 'STARTED'
14 completed = 'COMPLETED'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698