diff options
Diffstat (limited to 'plans/dcaegen2-services-pmsh/testsuite/teardown.sh')
-rw-r--r-- | plans/dcaegen2-services-pmsh/testsuite/teardown.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plans/dcaegen2-services-pmsh/testsuite/teardown.sh b/plans/dcaegen2-services-pmsh/testsuite/teardown.sh new file mode 100644 index 00000000..c5bac315 --- /dev/null +++ b/plans/dcaegen2-services-pmsh/testsuite/teardown.sh @@ -0,0 +1,8 @@ +#!/bin/bash +echo "Starting teardown script" +TEST_PLANS_DIR=$WORKSPACE/plans/dcaegen2-services-pmsh/testsuite +mkdir -p $WORKSPACE/archives +docker exec pmsh /bin/sh -c "ls -l /var/log/ONAP/dcaegen2/services/pmsh/" +docker exec pmsh /bin/sh -c "cat /var/log/ONAP/dcaegen2/services/pmsh/*" +docker-compose -f $TEST_PLANS_DIR/docker-compose.yml logs --no-color > $WORKSPACE/archives/pmsh-docker-compose.log +docker-compose -f $TEST_PLANS_DIR/docker-compose.yml down -v |