This is an automated email from the ASF dual-hosted git repository.
mattrpav pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new 8c7476561 [NO-JIRA] Update Jenkinsfile to include a JDK 17 build (#902)
8c7476561 is described below
commit 8c747656188d30130c50fe0d8751679fcdbf85a4
Author: Matt Pavlovich <[email protected]>
AuthorDate: Tue Aug 30 12:43:09 2022 -0500
[NO-JIRA] Update Jenkinsfile to include a JDK 17 build (#902)
---
Jenkinsfile | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index ea2811bd4..d4c09be26 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -63,9 +63,26 @@ pipeline {
}
}
- stage('Build') {
+ stage('Build JDK 17') {
+ tools {
+ jdk "jdk_17_latest"
+ }
+ steps {
+ echo 'Building JDK 17'
+ sh 'java -version'
+ sh 'mvn -version'
+ sh 'mvn -U -B -e clean install -DskipTests'
+ }
+ }
+
+ stage('Build JDK 11') {
+ tools {
+ jdk "jdk_11_latest"
+ }
steps {
- echo 'Building'
+ echo 'Building JDK 11'
+ sh 'java -version'
+ sh 'mvn -version'
sh 'mvn -U -B -e clean install -DskipTests'
}
}