API Packet #4: View Log of Failed Builds - mschnitzer/dapsenv GitHub Wiki
This API allows you to receive the console output of DAPS
for the last failed build of a DC-File and a specific format.
Example Request
{ "id": 4, "dc_file": "DC-suse-openstack-cloud-admin", "format": "pdf" }
Example Response
{
"id":4,
"log": "RVJST1I6IEpJTkdfV1JBUFBFUj0vdXNyL3NoYXJlL2RhcHMvbGliZXhlYy9kYXBzLWppbmc6IFBhdGggZG9lcyBub3QgZXhpc3QK"
}
The log
element of this JSON response contains the console output of DAPS
. The console output is encoded as Base64.