make 'start-UoW' ci job correctly report when it fails
currently, even if the 1-sumbit-adt.sh
script returns a failure from the server, the job will still be marked as 'passed' since curl
still exits with a 0
status
Definition of Done:
-
parse output of 1-submit-adt.sh
and cause the ci pipeline job to exit with a failure if MiCADO reports a failure
Hints:
an example response from a successful submission:
{
"message": "Application asclepios-sleep successfully deployed"
}
an example response from a failed submission:
{
"message": "500 Internal Server Error: Error while validating: K8s Validation: Additional properties are not allowed ('port' was unexpected)"
}
Edited by Ilka Schulz