Browse Source

Test against Java 20 on CI.

See #1462.
pull/1489/head
Greg L. Turnquist 3 years ago
parent
commit
ccd7f19073
No known key found for this signature in database
GPG Key ID: CB2FA4D512B5C413
  1. 36
      Jenkinsfile
  2. 6
      spring-data-jdbc/pom.xml
  3. 6
      spring-data-r2dbc/pom.xml
  4. 6
      spring-data-relational/pom.xml

36
Jenkinsfile vendored

@ -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)

6
spring-data-jdbc/pom.xml

@ -163,6 +163,12 @@ @@ -163,6 +163,12 @@
<artifactId>assertj-core</artifactId>
<version>${assertj}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>

6
spring-data-r2dbc/pom.xml

@ -167,6 +167,12 @@ @@ -167,6 +167,12 @@
<artifactId>assertj-core</artifactId>
<version>${assertj}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>

6
spring-data-relational/pom.xml

@ -62,6 +62,12 @@ @@ -62,6 +62,12 @@
<artifactId>assertj-core</artifactId>
<version>${assertj}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>

Loading…
Cancel
Save