<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Dear all,</div><div class=""><br class=""></div>I think we figured out what is the problem.<div class="">Looks like the Update.xml we were manually writing was missing time info, i.e.</div><div class=""><br class=""></div><div class=""><StartDateTime>Nov 10 16:36 CET</StartDateTime><br class=""><StartTime>1510328188</StartTime><br class=""><EndDateTime>Nov 10 16:36 CET</EndDateTime><br class=""><EndTime>1510328189</EndTime><br class=""><ElapsedMinutes>0</ElapsedMinutes></div><div class=""><br class=""></div><div class="">and XML parsing was failing.<br class=""><br class="">If we use CTEST_UPDATE() then on CDash there is another column “Update” with “Files” which point to revision info.</div><div class="">The “GIT column” I was originally referring to probably is a custom configuration of this project <a href="https://cdash.kyomu.43-1.org/index.php?project=deal.II" class="">https://cdash.kyomu.43-1.org/index.php?project=deal.II</a> </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Denis.<br class=""><div class=""><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 10 Nov 2017, at 10:54, Denis Davydov <<a href="mailto:denis.davydov@fau.de" class="">denis.davydov@fau.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear all,<br class=""><br class="">we are running a server with CDash v2.4.0-prebuilt (webpage shows 2.5.0 though) and<br class="">can not figure out how to make CDash to show git commit for each build in the dashboard.<br class=""><br class="">The ctest script ends with:<br class=""><br class="">FILE(STRINGS ${CTEST_BINARY_DIRECTORY}/Testing/TAG _tag LIMIT_COUNT 1)<br class="">SET(_path "${CTEST_BINARY_DIRECTORY}/Testing/${_tag}")<br class=""><br class="">FILE(WRITE ${_path}/Update.xml<br class="">"<?xml version=\"1.0\" encoding=\"UTF-8\"?><br class=""><Update mode=\"Client\" Generator=\"ctest-${CTEST_VERSION}\"><br class=""><Site>${CTEST_SITE}</Site><br class=""><BuildName>${CTEST_BUILD_NAME}</BuildName><br class=""><BuildStamp>${_tag}-${TRACK}</BuildStamp><br class=""><UpdateType>GIT</UpdateType><br class=""><Revision>${_git_rev}</Revision><br class=""><Path>${_git_branch}</Path><br class=""></Update>"<br class="">  )<br class=""><br class="">CTEST_SUBMIT(RETURN_VALUE _res)<br class=""><br class=""><br class="">From visual inspection I see that everything[1] is being picked up correctly in this file and it’s being created where it should.<br class="">As for the CDash project settings, the “Repository” tab has “Repository Viewer Type” set to “GitHub”, otherwise other fields are empty.<br class="">The code is hosted at a private GitHub repository, so we can’t really point CDash to it, as far as I understand.<br class="">Perhaps that’s the reason why we don’t see a “Git” column for each build with hashes, but I kind of hoped that<br class="">it’s possible to display it even if the repository itself is private and so CDash won’t be able to create meaningful <br class="">hyperlinks to each commit.<br class=""><br class="">[1] The only minor issue is that I expected CTEST_VERSION to be defined, but it is not. So probably one would need to get it <br class="">manually.<br class=""><br class=""><br class="">Thank you in advance,<br class="">Regards,<br class="">Denis.</div></div></blockquote></div><br class=""></div></body></html>