rajendrajaiswal | 47b64d7 | 2019-02-06 16:09:24 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | echo "Starting teardown script" |
AndyWalshe | c2894d1 | 2020-01-29 10:12:42 +0000 | [diff] [blame] | 3 | TEST_PLANS_DIR=$WORKSPACE/plans/dcaegen2-pmmapper/pmmapper |
| 4 | mkdir -p $WORKSPACE/archives |
rajendrajaiswal | 7572f8d | 2019-03-07 14:28:47 +0000 | [diff] [blame] | 5 | docker exec pmmapper /bin/sh -c "cat /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log" |
AndyWalshe | c2894d1 | 2020-01-29 10:12:42 +0000 | [diff] [blame] | 6 | docker-compose -f $TEST_PLANS_DIR/docker-compose.yml logs > $WORKSPACE/archives/pmmapper-docker-compose.log |
| 7 | docker-compose -f $TEST_PLANS_DIR/docker-compose.yml down -v |