aboutsummaryrefslogtreecommitdiffstats
path: root/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
diff options
context:
space:
mode:
authoryanhuanwang <martin.c.yan@est.tech>2019-09-13 14:19:05 +0200
committeryanhuanwang <martin.c.yan@est.tech>2019-09-13 15:01:26 +0200
commit459a620a60f0cee9841300ee2bcda2b14ed1f2a7 (patch)
tree88c27fb9e1a354a8ec8ab4f3cffd75542967fbe4 /plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
parent5fdb4076afc38e28c15c7eb9b5c55323a949e588 (diff)
Fix bug of DFC daily jenkins job
Change-Id: I59277bc4b259d1b91b3259e7985efca6b0639671 Signed-off-by: yanhuanwang <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
Diffstat (limited to 'plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh')
-rw-r--r--plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
index 2c46439e..eaebbc24 100644
--- a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
+++ b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
@@ -2,6 +2,8 @@
running_containers=$(docker ps --filter name=dfc_ -qa)
running_images=$(docker images -q)
+docker exec -it dfc_app0 cat /var/log/ONAP/application.log >> $WORKSPACE/archives/dfc_app0_application.log
+docker logs dfc_mr-sim >> $WORKSPACE/archives/dfc_mr-sim.log
if [ -z "$running_containers" ]
then