[CDash] Where and how to display git SHA of commit at CDash dashboard?
DLRdave at aol.com
Mon Jan 29 14:47:37 UTC 2018
I'm not sure what the mechanism is, for I have not kept pace with the
changes over the last couple years, but .... I have noticed that the
Update column for VTK and CMake dashboards now report an abbreviated
value of a git commit hash. See, for example, the main page of the
CMake dashboard, and look at the Update column:
I would assume that if you are using latest releases of CDash and
CMake/CTest that it is fairly simple to have the git hash of the
corresponding source tree sent up.
Hopefully somebody who knows what the mechanism is can reply and give
a hint, but if not, I bet it's not too difficult to figure it out
based on analysis of the source code of CDash and CMake.CTest.
On Fri, Jan 26, 2018 at 5:34 AM, Niels Dekker
<niels_dekker_address_until_2024 at xs4all.nl> wrote:
> The Testing summary has a table, which has a "Build Revision" column. For
> example at
> Would that be a proper place for the commit SHA?
> In testSummary.html I see build.update.revision, and
> build.update.revisionurl, at
> Does this mean that we could pass the GitHub URL of the commit to CDash, so
> that it would be placed onto the Test Summary?
> If so, can you please tell us how to pass this information to CDash?
> I wrote on on Wednesday 24 Jan 2018:
>> What would be the most appropriate way to display the SHA of the last
>> commit at the CDash dashboard?
>> This question was asked already by James Foucar and answered by David
>> Cole, on September 27, 2016:
>> "[CDash] uploading commit info to cdash dashboard"
>> Now I wonder if there's any update :-)
> Kind regards,
> Niels Dekker
> Scientific programmer
> LKEB, Leiden University Medical Center
> CDash mailing list
> CDash at public.kitware.com
More information about the CDash