#1530 - Add build profile for Kotlin 1.5.0.

This commit is contained in:
Oliver Drotbohm
2021-05-12 13:12:41 +02:00
parent d22629fd0b
commit ba3a266158
2 changed files with 44 additions and 0 deletions

36
Jenkinsfile vendored
View File

@@ -102,6 +102,42 @@ pipeline {
sh 'PROFILE=spring-next ci/test.sh'
}
}
stage("test: kotlin-next (jdk8)") {
agent {
docker {
image 'adoptopenjdk/openjdk8:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'PROFILE=kotlin-next ci/test.sh'
}
}
stage("test: kotlin-next (jdk11)") {
agent {
docker {
image 'adoptopenjdk/openjdk11:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'PROFILE=kotlin-next ci/test.sh'
}
}
stage("test: kotlin-next (jdk15)") {
agent {
docker {
image 'adoptopenjdk/openjdk15:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'PROFILE=kotlin-next ci/test.sh'
}
}
}
}

View File

@@ -105,6 +105,14 @@
</repositories>
</profile>
<profile>
<id>kotlin-next</id>
<properties>
<kotlin.version>1.5.0</kotlin.version>
<kotlinx-coroutines.version>1.4.3</kotlinx-coroutines.version>
</properties>
</profile>
<profile>
<!-- Profile to be run on the CI server, JARs JavaDocs -->