Polishing.

This commit is contained in:
Mark Paluch
2024-10-18 10:14:50 +02:00
parent e5a771d543
commit 73989cef4c

16
Jenkinsfile vendored
View File

@@ -7,10 +7,6 @@ node {
pipeline {
agent none
triggers {
pollSCM 'H/10 * * * *'
}
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '14'))
@@ -19,15 +15,13 @@ pipeline {
stages {
stage('Build the Spring Data release tools container') {
when {
anyOf {
changeset 'ci/Dockerfile'
changeset 'ci/java-tools.properties'
}
}
agent {
label 'data'
}
steps {
script {
@@ -40,14 +34,17 @@ pipeline {
}
stage('Ship It') {
when {
branch 'release'
}
agent {
docker {
image 'springci/spring-data-release-tools:0.17'
}
}
options { timeout(time: 4, unit: 'HOURS') }
environment {
@@ -67,7 +64,6 @@ pipeline {
steps {
script {
sh "ci/build-spring-data-release-cli.bash"
sh "ci/build-and-distribute.bash ${p['release.version']}"
slackSend(
@@ -84,10 +80,6 @@ pipeline {
post {
changed {
script {
slackSend(
color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger',
channel: '#spring-data-dev',
message: "${currentBuild.fullDisplayName} - `${currentBuild.currentResult}`\n${env.BUILD_URL}")
emailext(
subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}",
mimeType: 'text/html',