API Packet #2: Trigger Build - mschnitzer/dapsenv GitHub Wiki
The packet id 2 makes a request to the daemon to schedule a build.
Example Request
{ "id": 2, "projects": [ "Cloud6" ], "dc_files": [ "DC-suse-openstack-cloud-user" ] }
It's not required to fill both elements projects
and dc_files
.
- For values in
projects
, the Daemon will look up for the project names what are specified in the autobuild configset
element and will trigger a build for all DC-Files what are owned by a project - For values in
dc_files
, the Daemon will just build the specified DC-Files
Example Response
{ "id": 2, "projects": [ "Cloud6" ], "dc_files": [ "DC-suse-openstack-cloud-user" ] }
The Daemon will answer with a list of all projects and DC-Files what could be scheduled for building. If a project or DC-File could not be found by the Daemon, it will not be in the response list.