This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git
The following commit(s) were added to refs/heads/master by this push:
new e13156b build jdk8 and 11 only
e13156b is described below
commit e13156b73845dff55937675c817f0e2444147098
Author: olivier lamy <[email protected]>
AuthorDate: Fri Dec 14 12:04:54 2018 +1000
build jdk8 and 11 only
Signed-off-by: olivier lamy <[email protected]>
---
Jenkinsfile | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index bb5a1c4..41b999c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -29,8 +29,7 @@
*/
LABEL = 'ubuntu'
buildJdk = 'JDK 1.8 (latest)'
-buildJdk9 = 'JDK 1.9 (latest)'
-buildJdk10 = 'JDK 10 (latest)'
+buildJdk11 = 'JDK 11 (latest)'
pipeline {
agent {
@@ -57,22 +56,12 @@ pipeline {
}
}
- stage('JDK9') {
+ stage('JDK11') {
steps {
- ws("${env.JOB_NAME}-JDK9") {
+ ws("${env.JOB_NAME}-JDK11") {
checkout scm
timeout(120) {
- mavenBuild(buildJdk9,"mvn clean install -B -U
-e -fae -T2", [])
- }
- }
- }
- }
- stage('JDK10') {
- steps {
- ws("${env.JOB_NAME}-JDK10") {
- checkout scm
- timeout(120) {
- mavenBuild(buildJdk10,"mvn clean install -B -U
-e -fae -T2", [])
+ mavenBuild(buildJdk11,"mvn clean install -B -U
-e -fae -T2", [])
}
}
}