[CDash] Custom columns in the dashboard
Biddiscombe, John A.
biddisco at cscs.ch
Thu Dec 7 15:41:01 UTC 2017
Zack
Thank you for that information. Browsing the dashboards I wonder ...
Are you performing a build step with a custom “code analysis” command, then submitting the results of the build step to a special Track - called scan-build - that’s what I am guessing is going on. If that is the case - yes perfect - it would be fine to do that (maybe not as nice as a column, but I’ll take what’s on offer if it requires no work!).
Would it be too much to ask if you can point me to a cmake example that I can copy’n’paste to try it out without getting it wrong the first few time?
thanks
JB
From: Zack Galbreath [mailto:zack.galbreath at kitware.com]
Sent: 07 December 2017 16:21
To: Biddiscombe, John A. <biddisco at cscs.ch>
Cc: cdash at public.kitware.com
Subject: Re: [CDash] Custom columns in the dashboard
On Thu, Dec 7, 2017 at 4:43 AM, Biddiscombe, John A. <biddisco at cscs.ch<mailto:biddisco at cscs.ch>> wrote:
Hello list
I have been playing with the python github module that allows you to fetch PR’s and using it to trigger builds on different machines here at CSCS and then display the results back on the dashboard. It works very nicely - but one nice feature would be the ability to add a column to the dashboard to show a clang-format/inspect type test that runs before doing the builds, so that I can fail a PR if the code style is bad.
This can be made into a test, but we usually run it as a pre-build/test step so that devs can fix that suff immediately instead of waiting N hours for all the other stuff to finish.
Can it be done? (adding a new column)
Adding arbitrary new columns isn't currently feasible in CDash, but we do use static analysis tools on our codebases and display the results on the dashboard. We typically accomplish this as a build step (rather than a test).
Here's an example of some warnings from include-what-you-use:
https://open.cdash.org/viewBuildError.php?type=1&buildid=5036499
And here's an example of scan-build reporting some errors:
https://open.cdash.org/viewBuildError.php?buildid=5100647
We'd be happy to help you get something like this set up if this looks promising to you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20171207/2e97ba30/attachment-0001.htm>
More information about the CDash
mailing list