diff options
author | Yves Duhem <yves.duhem@mongodb.com> | 2019-01-05 10:49:36 -0500 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2019-01-05 10:49:36 -0500 |
commit | cfcc7dde618e1be37fd6ab524e46b700bd372ad9 (patch) | |
tree | 5f6c93e550d83467c2dda2bc1cc784363e4d6f04 | |
parent | 3cf1a9edcdb9761a94ec4b37e3156c91cb4d7c7d (diff) | |
download | mongo-cfcc7dde618e1be37fd6ab524e46b700bd372ad9.tar.gz |
SERVER-23818 Send Evergreen task Id to logkeeper
(cherry picked from commit e94d22e96718528197e82d053c37ff4ba49b42a4)
-rw-r--r-- | buildscripts/resmokelib/logging/buildlogger.py | 2 |
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"] |