blob: 77bed8e06f5b431ed12af85aa40d392b8450f624 (
plain)
1
2
3
4
5
6
7
|
#!/bin/bash
echo "Starting teardown script"
TEST_PLANS_DIR=$WORKSPACE/plans/dcaegen2-pmmapper/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
|