From bbae53bb4c32c64b9cca8eb8477f73c10f6419c9 Mon Sep 17 00:00:00 2001 From: Jay Bryant Date: Mon, 11 Dec 2023 14:02:27 -0600 Subject: [PATCH] Update to Spring Boot 3.2.0 And remove Jenkinsfile, since we have a GitHub action And fix 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 e89238a..d80d4de 100644 --- a/README.adoc +++ b/README.adoc @@ -5,7 +5,7 @@ This guide walks you through the process of accessing relational data with Spring. -== What You Will build +== What You Will Build You will build an application that uses Spring's `JdbcTemplate` to access data stored in a relational database. diff --git a/complete/build.gradle b/complete/build.gradle index 76231a4..3e5478d 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 0d15f82..b87d989 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 76231a4..3e5478d 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 c7ebbde..3102577 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