From 52fd9cfe17efa9caaff05f449c8b7dc69767ad2d Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Tue, 29 Mar 2022 16:03:19 +0200 Subject: [PATCH] Ensure results from previous TCK runs is properly deleted before starting a new run --- ci/jpa-3.0-tck.Jenkinsfile | 1 + ci/jpa-3.1-tck.Jenkinsfile | 1 + 2 files changed, 2 insertions(+) diff --git a/ci/jpa-3.0-tck.Jenkinsfile b/ci/jpa-3.0-tck.Jenkinsfile index fae566ca4f..37147280a9 100644 --- a/ci/jpa-3.0-tck.Jenkinsfile +++ b/ci/jpa-3.0-tck.Jenkinsfile @@ -42,6 +42,7 @@ pipeline { stage('Run TCK') { steps { sh """ \ + rm -Rf ./results docker rm -f tck || true docker volume rm -f tck-vol || true docker volume create tck-vol diff --git a/ci/jpa-3.1-tck.Jenkinsfile b/ci/jpa-3.1-tck.Jenkinsfile index b528af4b26..bdd7ad5b8f 100644 --- a/ci/jpa-3.1-tck.Jenkinsfile +++ b/ci/jpa-3.1-tck.Jenkinsfile @@ -42,6 +42,7 @@ pipeline { stage('Run TCK') { steps { sh """ \ + rm -Rf ./results docker rm -f tck || true docker volume rm -f tck-vol || true docker volume create tck-vol