diff options
author | Rahul Chaudhry <rahulchaudhry@chromium.org> | 2016-12-06 10:47:05 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-12-06 14:01:18 -0800 |
commit | 213f3c07b696bce9a54b2039c855a9f593cdb511 (patch) | |
tree | c1ffaf9a65565fc85f8431e15c3482252dc614fe /generate-waterfall-reports.py | |
parent | e54c75c2f1b65054ce7562132102f194cf1c7d48 (diff) | |
download | toolchain-utils-213f3c07b696bce9a54b2039c855a9f593cdb511.tar.gz |
generate-waterfall-reports: use full path to sendgmr.
Use the sendgmr binary from x20. The user running the script
may not have (and does not need to have) sendgmr installed
on the local workstation.
BUG=None
TEST='Email sent by the script arrived in Inbox'
Change-Id: Ie642dea6317bdd3d5517ef4a383c8bae7b496f15
Reviewed-on: https://chrome-internal-review.googlesource.com/310215
Commit-Ready: Rahul Chaudhry <rahulchaudhry@google.com>
Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'generate-waterfall-reports.py')
-rwxr-xr-x | generate-waterfall-reports.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generate-waterfall-reports.py b/generate-waterfall-reports.py index 4517918e..50511f91 100755 --- a/generate-waterfall-reports.py +++ b/generate-waterfall-reports.py @@ -84,8 +84,9 @@ def format_date(int_date): def EmailReport(report_file, report_type, date): subject = '%s Waterfall Summary report, %s' % (report_type, date) email_to = getpass.getuser() - command = ('sendgmr --to=%s@google.com --subject="%s" --body_file=%s' % - (email_to, subject, report_file)) + sendgmr_path = '/google/data/ro/projects/gws-sre/sendgmr' + command = ('%s --to=%s@google.com --subject="%s" --body_file=%s' % + (sendgmr_path, email_to, subject, report_file)) command_executer.GetCommandExecuter().RunCommand(command) |