diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2019-04-23 18:28:28 (GMT) |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2019-04-23 18:56:46 (GMT) |
commit | 95db11fdb189a08a8530a767dea2c272e3605077 (patch) | |
tree | e304eb8291a542d65b179f6145144cf03508a96a /Source/CTest | |
parent | d170a3177fdc57c96034f8a2ecf5d0f9aff70af4 (diff) | |
download | CMake-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.cxx | 4 |
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); |