Add new field in the CI DB schema to connect the child CI build with the parent CI build
A new CI feature will allow a CI build to trigger a dependent CI build. This will be used by LArSoft CI where the LArSoft code will be built a made available through dCache, then the CI build used to build LArSoft will trigger a CI build for each LArSoft based experiment code. This will speed up the test of the experiment code.
In this schema each child CI build should be connected with its parent CI build.
This can be done introducing a new optional field named 'parent' in the CI DB schema.
The 'parent' information is known by the child CI build that will provide this information to the CI DB.
For this purpose it is needed to extend the existing 'build/add' command to provide this extra optional information.
The CI web app API provides the command 'build_detail/build_details' to retrieve some information for a specific build, the command is used in the form:
(for example: http://dbweb5.fnal.gov:8080/LarCI/app/ns:dune/build_detail/build_details?buildname=lar_ci/791&buildtype=slf6%20e14:prof)
that provides an XML output.
The <build> section could provide a field with the 'parent' information, if that CI build doesn't have that field, it will be empty.