Ensure results from previous TCK runs is properly deleted before starting a new run

This commit is contained in:
Christian Beikov 2022-03-29 16:03:19 +02:00
parent 063a13c8a3
commit 52fd9cfe17
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ pipeline {
stage('Run TCK') { stage('Run TCK') {
steps { steps {
sh """ \ sh """ \
rm -Rf ./results
docker rm -f tck || true docker rm -f tck || true
docker volume rm -f tck-vol || true docker volume rm -f tck-vol || true
docker volume create tck-vol docker volume create tck-vol

View File

@ -42,6 +42,7 @@ pipeline {
stage('Run TCK') { stage('Run TCK') {
steps { steps {
sh """ \ sh """ \
rm -Rf ./results
docker rm -f tck || true docker rm -f tck || true
docker volume rm -f tck-vol || true docker volume rm -f tck-vol || true
docker volume create tck-vol docker volume create tck-vol