[CDash] Revision status API endpoint returns empty list
Elvis Stansvik
elvstone at gmail.com
Sun Apr 5 09:45:18 UTC 2020
Den sön 5 apr. 2020 kl 11:43 skrev Elvis Stansvik <elvstone at gmail.com>:
>
> Hi all,
>
> I'm trying to use the "revision status" API endpoint described at
> https://www.paraview.org/Wiki/CDash:API#Revision_Status , but it
> returns an empty list ("[]"):
>
> estan at edison:~$ curl -X POST
> "https://cdash.ourdomain.com/api/v1/?method=build&task=revisionstatus&project=ourproject&revision=923c1c8e19d27668ce22a8d84d9a9e8011df414a"
> []estan at edison:~$
Forgot to mention: I get the same result if using GET method (leaving
out the -X POST).
Elvis
>
> Do we need to specify the Git revision manually somehow when
> submitting our CTest builds to CDash, for them to be associated with
> that Git revision? I was looking at
> https://cmake.org/cmake/help/latest/manual/ctest.1.html#ctest-submit-step
> for a Git revision parameter of some sorts, but couldn't find any, so
> I was assuming ctest_submit includes the Git revision information
> automatically.
>
> Thanks in advance,
> Elvis
More information about the CDash
mailing list