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

Side by Side Diff: build/android/buildbot/bb_annotations.py

Issue 2180023002: Remove src/build/android/buildbot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | build/android/buildbot/bb_device_status_check.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Helper functions to print buildbot messages."""
6
7 def PrintLink(label, url):
8 """Adds a link with name |label| linking to |url| to current buildbot step.
9
10 Args:
11 label: A string with the name of the label.
12 url: A string of the URL.
13 """
14 print '@@@STEP_LINK@%s@%s@@@' % (label, url)
15
16
17 def PrintMsg(msg):
18 """Appends |msg| to the current buildbot step text.
19
20 Args:
21 msg: String to be appended.
22 """
23 print '@@@STEP_TEXT@%s@@@' % msg
24
25
26 def PrintSummaryText(msg):
27 """Appends |msg| to main build summary. Visible from waterfall.
28
29 Args:
30 msg: String to be appended.
31 """
32 print '@@@STEP_SUMMARY_TEXT@%s@@@' % msg
33
34
35 def PrintError():
36 """Marks the current step as failed."""
37 print '@@@STEP_FAILURE@@@'
38
39
40 def PrintWarning():
41 """Marks the current step with a warning."""
42 print '@@@STEP_WARNINGS@@@'
43
44
45 def PrintNamedStep(step):
46 print '@@@BUILD_STEP %s@@@' % step
OLDNEW
« no previous file with comments | « no previous file | build/android/buildbot/bb_device_status_check.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698