From 0c44b19dced2949b2ab578ceb9416c9d083ffa0b Mon Sep 17 00:00:00 2001 From: Ian Fisher - CGI <142427330+Ianrfisher@users.noreply.github.com> Date: Tue, 30 Jul 2024 19:55:54 +0100 Subject: [PATCH] try again (#663) --- Jenkinsfile_CNP | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile_CNP b/Jenkinsfile_CNP index 0b59ec516..0551dc57b 100644 --- a/Jenkinsfile_CNP +++ b/Jenkinsfile_CNP @@ -60,8 +60,7 @@ withPipeline(type, product, component) { env.PNC_CHECK_SERVICE_SUBJECT = 'juror-back-end' env.PNC_CHECK_SERVICE_HOST = 'juror-scheduler-execution.staging.platform.hmcts.net' env.PNC_CHECK_SERVICE_PORT = '443' - env.FLYWAY_LOC_OVERRIDE = 'db/migrationv2' - + afterAlways('test') { builder.gradle('jacocoTestReport') @@ -189,5 +188,10 @@ withPipeline(type, product, component) { before('dbmigrate:ithc') { sh("./gradlew --no-daemon --init-script init.gradle assemble") } + + before('dbmigrate:prod') { + env.FLYWAY_LOC_OVERRIDE = 'db/migrationv2' + } + }