blob: 8ca608dfe5025e85fac0c9f5f1982970841b9782 [file] [log] [blame]
#!/bin/bash
echo "Starting teardown script"
TEST_PLANS_DIR=$WORKSPACE/plans/pmmapper
mkdir -p $WORKSPACE/archives
docker exec pmmapper /bin/sh -c "cat /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log"
docker-compose -f $TEST_PLANS_DIR/docker-compose.yml logs > $WORKSPACE/archives/pmmapper-docker-compose.log
docker-compose -f $TEST_PLANS_DIR/docker-compose.yml down -v