From 745550fa703dfe79b31121acf628c10e6adcb216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C3=B3=C5=82grabia?= Date: Tue, 26 Jan 2021 18:15:28 +0100 Subject: [PATCH] Fixing flyway migration settings. --- Jenkinsfile | 4 ++-- build.gradle | 2 +- gradle.properties | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7daa2af..b34e8f4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,9 +6,9 @@ pipeline { steps { script { if (!isUnix()) { - bat('gradlew build') + bat('gradlew --no-daemon build') } else { - sh('gradlew build') + sh('gradlew --no-daemon build') } } } diff --git a/build.gradle b/build.gradle index f5fdf7f..6cab444 100644 --- a/build.gradle +++ b/build.gradle @@ -63,5 +63,5 @@ flyway { url = project.ext['javaeeshowcase.flyway.url'] user = project.ext['javaeeshowcase.flyway.username'] password = project.ext['javaeeshowcase.flyway.password'] - schemas = project.ext['javaeeshowcase.flyway.schemas'] + schemas = project.ext['javaeeshowcase.flyway.schemas'].split(',') } diff --git a/gradle.properties b/gradle.properties index f4ad2f2..da2013d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,4 +13,4 @@ javaeeshowcase.cargo.wildfly.port=9990 javaeeshowcase.flyway.url=jdbc:postgresql://localhost:5432/test javaeeshowcase.flyway.username=test javaeeshowcase.flyway.password=test -javaeeshowcase.flyway.schemas=test +javaeeshowcase.flyway.schemas=test \ No newline at end of file