Drop testing against Spring WS 3.2. Ensure tests are run against Spring Boot's default version as well as Spring WS 3.1.4.
80 lines
2.2 KiB
Groovy
80 lines
2.2 KiB
Groovy
pipeline {
|
|
agent none
|
|
|
|
triggers {
|
|
pollSCM 'H/10 * * * *'
|
|
}
|
|
|
|
options {
|
|
disableConcurrentBuilds()
|
|
buildDiscarder(logRotator(numToKeepStr: '14'))
|
|
}
|
|
|
|
stages {
|
|
stage("Test: baseline (jdk8)") {
|
|
agent {
|
|
docker {
|
|
image 'adoptopenjdk/openjdk8:latest'
|
|
args '-v $HOME/.m2:/root/.m2'
|
|
}
|
|
}
|
|
environment {
|
|
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
|
|
}
|
|
steps {
|
|
sh "PROFILES=none ci/test.sh"
|
|
}
|
|
}
|
|
|
|
stage("Test other configurations") {
|
|
parallel {
|
|
stage("Test: spring-ws-3.1-snapshots") {
|
|
agent {
|
|
docker {
|
|
image 'adoptopenjdk/openjdk8:latest'
|
|
args '-v $HOME/.m2:/root/.m2'
|
|
}
|
|
}
|
|
environment {
|
|
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
|
|
}
|
|
steps {
|
|
sh "PROFILES=spring-ws-3.1-snapshots ci/test.sh"
|
|
}
|
|
}
|
|
|
|
stage("Test: spring-ws-3.1.4") {
|
|
agent {
|
|
docker {
|
|
image 'adoptopenjdk/openjdk8:latest'
|
|
args '-v $HOME/.m2:/root/.m2'
|
|
}
|
|
}
|
|
environment {
|
|
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
|
|
}
|
|
steps {
|
|
sh "PROFILES=spring-ws-3.1.4 ci/test.sh"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
changed {
|
|
script {
|
|
slackSend(
|
|
color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger',
|
|
channel: '#spring-ws',
|
|
message: "${currentBuild.fullDisplayName} - `${currentBuild.currentResult}`\n${env.BUILD_URL}")
|
|
emailext(
|
|
subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}",
|
|
mimeType: 'text/html',
|
|
recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']],
|
|
body: "<a href=\"${env.BUILD_URL}\">${currentBuild.fullDisplayName} is reported as ${currentBuild.currentResult}</a>")
|
|
}
|
|
}
|
|
}
|
|
}
|