Created
June 17, 2014 18:04
-
-
Save maurodoglio/e5fad0a5424387988d50 to your computer and use it in GitHub Desktop.
Job completed event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf import settings | |
from treeherder.events.publisher import JobStatusPublisher | |
p = JobStatusPublisher(settings.BROKER_URL) | |
p.publish( | |
1,# job_id | |
1,# resultset_id | |
'mozilla-inbound', # repo | |
'completed' # status | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment