summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2019-04-23 18:28:28 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2019-04-23 18:56:46 (GMT)
commit95db11fdb189a08a8530a767dea2c272e3605077 (patch)
treee304eb8291a542d65b179f6145144cf03508a96a /Source/CTest
parentd170a3177fdc57c96034f8a2ecf5d0f9aff70af4 (diff)
downloadCMake-95db11fdb189a08a8530a767dea2c272e3605077.zip
CMake-95db11fdb189a08a8530a767dea2c272e3605077.tar.gz
CMake-95db11fdb189a08a8530a767dea2c272e3605077.tar.bz2
ctest: Include ChangeId in Update.xml
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestUpdateHandler.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx
index e3b7e9e..5cfc4a7 100644
--- a/Source/CTest/cmCTestUpdateHandler.cxx
+++ b/Source/CTest/cmCTestUpdateHandler.cxx
@@ -199,6 +199,10 @@ int cmCTestUpdateHandler::ProcessHandler()
xml.Element("UpdateCommand", vc->GetUpdateCommandLine());
xml.Element("UpdateType",
cmCTestUpdateHandlerUpdateToString(this->UpdateType));
+ std::string changeId = this->CTest->GetCTestConfiguration("ChangeId");
+ if (!changeId.empty()) {
+ xml.Element("ChangeId", changeId);
+ }
bool loadedMods = vc->WriteXML(xml);