From 30330a4cb205e5490231e8aa0f7b8ad5ac5a953d Mon Sep 17 00:00:00 2001 From: Jay Bryant Date: Tue, 5 Dec 2023 08:52:28 -0600 Subject: [PATCH] Update to Spring Boot 3.2.0 Also fixed a typo in the readme --- Jenkinsfile | 44 ------------------------------------------- README.adoc | 2 +- complete/build.gradle | 4 ++-- complete/pom.xml | 2 +- initial/build.gradle | 4 ++-- initial/pom.xml | 2 +- 6 files changed, 7 insertions(+), 51 deletions(-) delete mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 2087732..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,44 +0,0 @@ -pipeline { - agent none - - triggers { - pollSCM 'H/10 * * * *' - } - - options { - disableConcurrentBuilds() - buildDiscarder(logRotator(numToKeepStr: '14')) - } - - stages { - stage("test: baseline (jdk17)") { - agent { - docker { - image 'harbor-repo.vmware.com/dockerhub-proxy-cache/library/adoptopenjdk/openjdk17:latest' - args '-v $HOME/.m2:/tmp/jenkins-home/.m2' - } - } - options { timeout(time: 30, unit: 'MINUTES') } - steps { - sh 'test/run.sh' - } - } - - } - - post { - changed { - script { - slackSend( - color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger', - channel: '#sagan-content', - message: "${currentBuild.fullDisplayName} - `${currentBuild.currentResult}`\n${env.BUILD_URL}") - emailext( - subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}", - mimeType: 'text/html', - recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']], - body: "${currentBuild.fullDisplayName} is reported as ${currentBuild.currentResult}") - } - } - } -} diff --git a/README.adoc b/README.adoc index f5a235b..c6c7594 100644 --- a/README.adoc +++ b/README.adoc @@ -10,7 +10,7 @@ is a sub-project of Spring Boot. It adds several production grade services to yo application with little effort on your part. In this guide, you will build an application and then see how to add these services. -== What You Will build +== What You Will Build This guide takes you through creating a "`Hello, world`" RESTful web service with Spring Boot Actuator. You will build a service that accepts the following HTTP GET request: diff --git a/complete/build.gradle b/complete/build.gradle index 6984782..7dbe27c 100644 --- a/complete/build.gradle +++ b/complete/build.gradle @@ -1,6 +1,6 @@ plugins { - id 'org.springframework.boot' version '3.1.0' - id 'io.spring.dependency-management' version '1.1.0' + id 'org.springframework.boot' version '3.2.0' + id 'io.spring.dependency-management' version '1.1.4' id 'java' } diff --git a/complete/pom.xml b/complete/pom.xml index 0021008..69c0599 100644 --- a/complete/pom.xml +++ b/complete/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.0 + 3.2.0 com.example diff --git a/initial/build.gradle b/initial/build.gradle index 6984782..7dbe27c 100644 --- a/initial/build.gradle +++ b/initial/build.gradle @@ -1,6 +1,6 @@ plugins { - id 'org.springframework.boot' version '3.1.0' - id 'io.spring.dependency-management' version '1.1.0' + id 'org.springframework.boot' version '3.2.0' + id 'io.spring.dependency-management' version '1.1.4' id 'java' } diff --git a/initial/pom.xml b/initial/pom.xml index b890a97..205dfe9 100644 --- a/initial/pom.xml +++ b/initial/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.0 + 3.2.0 com.example