You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by si...@apache.org on 2019/01/17 00:23:38 UTC
[bookkeeper] branch master updated: Move Jobs from Obsolete JDK9 to
JDK11
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 55c6a66 Move Jobs from Obsolete JDK9 to JDK11
55c6a66 is described below
commit 55c6a66bf06b1b29cb9e76c82d150d0f0412422f
Author: Enrico Olivelli <eo...@gmail.com>
AuthorDate: Thu Jan 17 01:23:33 2019 +0100
Move Jobs from Obsolete JDK9 to JDK11
Descriptions of the changes in this PR:
- create new jobs for JDK 11
- disable spotbugs on JDK 11 on CI
- drop jdk9 and jdk10 from Travis
Reviewers: Sijie Guo <si...@apache.org>
This closes #1903 from eolivelli/fix/ci-jdk11-part1
---
...ovy => job_bookkeeper_postcommit_master_java11.groovy} | 6 +++---
...ava9.groovy => job_bookkeeper_precommit_java11.groovy} | 15 ++++++++-------
.travis.yml | 5 -----
3 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/.test-infra/jenkins/job_bookkeeper_postcommit_master_java9.groovy b/.test-infra/jenkins/job_bookkeeper_postcommit_master_java11.groovy
similarity index 89%
rename from .test-infra/jenkins/job_bookkeeper_postcommit_master_java9.groovy
rename to .test-infra/jenkins/job_bookkeeper_postcommit_master_java11.groovy
index 6669104..25423ad 100644
--- a/.test-infra/jenkins/job_bookkeeper_postcommit_master_java9.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_postcommit_master_java11.groovy
@@ -19,15 +19,15 @@
import common_job_properties
// This job runs the Java postcommit tests on Java 9
-mavenJob('bookkeeper_postcommit_master_java9') {
- description('Runs nightly build for bookkeeper in Java 9.')
+mavenJob('bookkeeper_postcommit_master_java11') {
+ description('Runs nightly build for bookkeeper in Java 11.')
// clean up the workspace before build
wrappers { preBuildCleanup() }
// Set common parameters.
common_job_properties.setTopLevelMainJobProperties(
- delegate, 'master', 'JDK 1.9 (latest)')
+ delegate, 'master', 'JDK 11 (latest)')
// Sets that this is a PostCommit job.
common_job_properties.setPostCommit(
diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_java9.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_java11.groovy
similarity index 83%
rename from .test-infra/jenkins/job_bookkeeper_precommit_java9.groovy
rename to .test-infra/jenkins/job_bookkeeper_precommit_java11.groovy
index 268d829..7089d49 100644
--- a/.test-infra/jenkins/job_bookkeeper_precommit_java9.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_precommit_java11.groovy
@@ -19,8 +19,8 @@
import common_job_properties
// This is the Java precommit which runs a maven install, and the current set of precommit tests.
-mavenJob('bookkeeper_precommit_pullrequest_java9') {
- description('precommit verification for pull requests of <a href="http://bookkeeper.apache.org">Apache BookKeeper</a> in Java 9.')
+mavenJob('bookkeeper_precommit_pullrequest_java11') {
+ description('precommit verification for pull requests of <a href="http://bookkeeper.apache.org">Apache BookKeeper</a> in Java 11.')
// clean up the workspace before build
wrappers { preBuildCleanup() }
@@ -41,7 +41,7 @@ mavenJob('bookkeeper_precommit_pullrequest_java9') {
common_job_properties.setTopLevelMainJobProperties(
delegate,
'master',
- 'JDK 1.9 (latest)',
+ 'JDK 11 (latest)',
200,
'ubuntu',
'${sha1}')
@@ -49,13 +49,14 @@ mavenJob('bookkeeper_precommit_pullrequest_java9') {
// Sets that this is a PreCommit job.
common_job_properties.setPreCommit(
delegate,
- 'Build (Java 9) (trigger via `rebuild java9`)',
- '.*(re)?build java9.*',
- '.*\\[x\\] \\[skip build java9\\].*')
+ 'Build (Java 11) (trigger via `rebuild java11`)',
+ '.*(re)?build java11.*',
+ '.*\\[x\\] \\[skip build java11\\].*')
// Set Maven parameters.
common_job_properties.setMavenConfig(delegate)
// Maven build project
- goals('clean package spotbugs:check -Dstream -DskipBookKeeperServerTests')
+ // Spotbugs disabled on JDK11 due to https://github.com/spotbugs/spotbugs/issues/756
+ goals('clean package -Dstream -DskipBookKeeperServerTests')
}
diff --git a/.travis.yml b/.travis.yml
index ad53fd5..c9b09d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,11 +32,6 @@ matrix:
osx_image: xcode9.2
- os: linux
env: CUSTOM_JDK="oraclejdk8"
- # disabled oraclejdk9 since it has unknown failures on https://github.com/apache/bookkeeper/pull/1683
- #- os: linux
- # env: CUSTOM_JDK="oraclejdk9"
- - os: linux
- env: CUSTOM_JDK="oraclejdk10"
- os: linux
env: CUSTOM_JDK="oraclejdk11"
- os: osx