CI: Abort pipeline if DeployObject fails

This commit is contained in:
Robert Schmidt
2022-07-14 23:53:52 +02:00
parent 43c980d36b
commit f1e3f7fb1f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -919,6 +919,8 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
CONTAINERS.Copy_Image_to_Test_Server(HTML)
elif action == 'Deploy_Object':
CONTAINERS.DeployObject(HTML, EPC)
if CONTAINERS.exitStatus==1:
RAN.prematureExit = True
elif action == 'Undeploy_Object':
CONTAINERS.UndeployObject(HTML, RAN)
elif action == 'Cppcheck_Analysis':