[Cdash] CDash / Gerrit
david.cole at kitware.com
Thu Aug 11 18:16:08 UTC 2011
On Thu, Aug 11, 2011 at 2:00 PM, Roland Schulz <roland at utk.edu> wrote:
> in the thread
> http://public.kitware.com/pipermail/cdash/2011-March/000944.html Bill
> mentioned that cdash at home is used to automatic trigger builds for new
> gerrit commits.
> My question: How do you trigger the build from gerrit? Do you use the
> gerrit streams (
> or do you poll gerrit/git regularly to see whether a build is required?
We have a fairly simple python script that connects to the gerrit server via
ssh and listens to the event stream.
> Is the code to do this available?
It contains the secret key we use for communicating with the CDash Web API,
so we are keeping it private. (In the future, we could scrub it and clean it
up for public consumption, but right now, it's not in a state to go public
> Also do you already have some code to automatically let CDash review "+1/-1
> verify" depending on whether the build succeeded?
No. We just have links to the builds that were kicked off by a build request
posted as a comment. See, for example, the comments by the "Kitware Robot"
Which points to this CDash view of the builds that were initiated:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CDash