aboutsummaryrefslogtreecommitdiffstats
path: root/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh')
-rw-r--r--plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh
index 97ef4037..d8877fbc 100644
--- a/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh
+++ b/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh
@@ -1,3 +1,6 @@
#!/usr/bin/env bash
-
-kill-instance.sh dfc_app \ No newline at end of file
+set +e
+docker exec -it dfc_app0 cat /var/log/ONAP/application.log > $WORKSPACE/archives/dfc_app0_application.log
+kill-instance.sh dfc_app0
+set -e
+exit 0