Debian Codegraph @

tests/system/cleanup-tests.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 # Used by Jenkins in post step to cleanup after ./run-tests.sh
4
5 if [[ -z $WORKSPACE ]]; then
6 echoscip-shell system . . echo. "This should be run by Jenkins only"
7 exit 1
8 fi
9
10 set -e
11
12 . jenkins-common/resources/scripts/extract-iam-credential.shscip-shell source . . `jenkins-common/resources/scripts/extract-iam-credential.sh`.
13
14 set -x
15
16 KAFKA_DIR=$WORKSPACE/kafka
17
18 if [scip-shell system . . `[`. -d $KAFKA_DIR ]; then
19 cd $KAFKA_DIR
20 vagrant destroy -f
21 fi