Skip to content

Commit

Permalink
Merge pull request #7440 from ktf/track-hostname
Browse files Browse the repository at this point in the history
Keep track of hostname being used to run jobs.
  • Loading branch information
ktf committed Jan 29, 2015
2 parents a69be8b + 2b8ca33 commit 325523f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Configuration/PyReleaseValidation/python/WorkFlowRunner.py
Expand Up @@ -10,6 +10,7 @@
from datetime import datetime
from hashlib import sha1
import urllib2, base64, json, re
from socket import gethostname

# This is used to report results of the runTheMatrix to the elasticsearch
# instance used for IBs. This way we can track progress even if the logs are
Expand Down Expand Up @@ -65,6 +66,7 @@ def esReportWorkflow(**kwds):
if errors:
payload["errors"] = errors

payload["hostname"] = gethostname()
url = "https://%s/ib-matrix.%s/runTheMatrix-data/%s" % (es_hostname,
d.strftime("%Y.%m"),
sha1_id)
Expand Down

0 comments on commit 325523f

Please sign in to comment.