summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Duhem <yves.duhem@mongodb.com>2019-01-05 10:49:36 -0500
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2019-01-05 10:49:36 -0500
commitcfcc7dde618e1be37fd6ab524e46b700bd372ad9 (patch)
tree5f6c93e550d83467c2dda2bc1cc784363e4d6f04
parent3cf1a9edcdb9761a94ec4b37e3156c91cb4d7c7d (diff)
downloadmongo-cfcc7dde618e1be37fd6ab524e46b700bd372ad9.tar.gz
SERVER-23818 Send Evergreen task Id to logkeeper
(cherry picked from commit e94d22e96718528197e82d053c37ff4ba49b42a4)
-rw-r--r--buildscripts/resmokelib/logging/buildlogger.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/logging/buildlogger.py b/buildscripts/resmokelib/logging/buildlogger.py
index e8e37d2c004..d9792a4e09e 100644
--- a/buildscripts/resmokelib/logging/buildlogger.py
+++ b/buildscripts/resmokelib/logging/buildlogger.py
@@ -104,6 +104,7 @@ def new_build_id(config):
response = handler.post(CREATE_BUILD_ENDPOINT, data={
"builder": builder,
"buildnum": build_num,
+ "task_id": _config.EVERGREEN_TASK_ID,
})
return response["id"]
@@ -128,6 +129,7 @@ def new_test_id(build_id, build_config, test_filename, test_command):
"test_filename": test_filename,
"command": test_command,
"phase": build_config.get("build_phase", "unknown"),
+ "task_id": _config.EVERGREEN_TASK_ID,
})
return response["id"]