|
|
|
|
@ -1,7 +1,7 @@
@@ -1,7 +1,7 @@
|
|
|
|
|
def p = [:] |
|
|
|
|
node { |
|
|
|
|
checkout scm |
|
|
|
|
p = readProperties interpolate: true, file: 'ci/pipeline.properties' |
|
|
|
|
checkout scm |
|
|
|
|
p = readProperties interpolate: true, file: 'ci/pipeline.properties' |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pipeline { |
|
|
|
|
@ -18,7 +18,7 @@ pipeline {
@@ -18,7 +18,7 @@ pipeline {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
stages { |
|
|
|
|
stage("test: baseline (Java 17)") { |
|
|
|
|
stage("test: baseline (main)") { |
|
|
|
|
when { |
|
|
|
|
beforeAgent(true) |
|
|
|
|
anyOf { |
|
|
|
|
@ -39,7 +39,6 @@ pipeline {
@@ -39,7 +39,6 @@ pipeline {
|
|
|
|
|
steps { |
|
|
|
|
script { |
|
|
|
|
docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.docker']) { |
|
|
|
|
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}" |
|
|
|
|
sh "PROFILE=ci,all-dbs ci/test.sh" |
|
|
|
|
sh "ci/clean.sh" |
|
|
|
|
} |
|
|
|
|
@ -47,6 +46,35 @@ pipeline {
@@ -47,6 +46,35 @@ pipeline {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
stage("Test other configurations") { |
|
|
|
|
when { |
|
|
|
|
beforeAgent(true) |
|
|
|
|
allOf { |
|
|
|
|
branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP") |
|
|
|
|
not { triggeredBy 'UpstreamCause' } |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
parallel { |
|
|
|
|
stage("test: baseline (next)") { |
|
|
|
|
agent { |
|
|
|
|
label 'data' |
|
|
|
|
} |
|
|
|
|
options { timeout(time: 30, unit: 'MINUTES') } |
|
|
|
|
environment { |
|
|
|
|
ARTIFACTORY = credentials("${p['artifactory.credentials']}") |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
script { |
|
|
|
|
docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) { |
|
|
|
|
sh "PROFILE=ci,all-dbs ci/test.sh" |
|
|
|
|
sh "ci/clean.sh" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
stage('Release to artifactory') { |
|
|
|
|
when { |
|
|
|
|
beforeAgent(true) |
|
|
|
|
|