Index: jenkins/phabricator-post.py =================================================================== --- jenkins/phabricator-post.py +++ jenkins/phabricator-post.py @@ -1,4 +1,6 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- + import json import os import sys @@ -43,4 +45,4 @@ print "D%s failed tests on diff id %s" % (differential_id, diff_id) if int(num_failures) == 0: - message = "Jenkins is unable to run tests with this patch. See %s to see why." % console_output_url + message = u"⛔️ Jenkins is unable to run tests with this patch. See %s to see why. @@ -53,7 +55,7 @@ elif result == "SUCCESS": print "D%s passed all tests with diff id %s" % (differential_id, diff_id) - message = "This patch does not break any tests. +1. See the passing build here: %s" % test_report_url + message = u"✅ This patch does not break any tests. +1. See the passing build here: %s" % test_report_url action = "none" # This comment should not email everyone. silent = True