You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/04/11 05:48:08 UTC

[GitHub] sijie closed pull request #1328: Create CI jobs for branch-4.7

sijie closed pull request #1328: Create CI jobs for branch-4.7
URL: https://github.com/apache/bookkeeper/pull/1328
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.test-infra/jenkins/job_bookkeeper_release_branch.groovy b/.test-infra/jenkins/job_bookkeeper_release_branch_46.groovy
similarity index 85%
rename from .test-infra/jenkins/job_bookkeeper_release_branch.groovy
rename to .test-infra/jenkins/job_bookkeeper_release_branch_46.groovy
index 3336a689fb..a632e1517a 100644
--- a/.test-infra/jenkins/job_bookkeeper_release_branch.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_release_branch_46.groovy
@@ -18,9 +18,9 @@
 
 import common_job_properties
 
-// This job runs nightly build for bookkeeper release branch
-mavenJob('bookkeeper_release_branch') {
-  description('Run nightly build for bookkeeper release branch')
+// This job runs nightly build for bookkeeper release branch-4.6
+mavenJob('bookkeeper_release_branch_46') {
+  description('Run nightly build for bookkeeper release branch-4.6')
 
   // Set common parameters.
   common_job_properties.setTopLevelMainJobProperties(
@@ -36,8 +36,8 @@ mavenJob('bookkeeper_release_branch') {
   // Allows triggering this build against pull requests.
   common_job_properties.enablePhraseTriggeringFromPullRequest(
       delegate,
-      'Release Branch Test',
-      '/test-release-branch')
+      'Release Branch 4.6 Test',
+      '/test-release-branch-46')
   
   // Set maven parameters.
   common_job_properties.setMavenConfig(delegate)
diff --git a/.test-infra/jenkins/job_bookkeeper_release_branch_47_java8.groovy b/.test-infra/jenkins/job_bookkeeper_release_branch_47_java8.groovy
new file mode 100644
index 0000000000..5a941c09b8
--- /dev/null
+++ b/.test-infra/jenkins/job_bookkeeper_release_branch_47_java8.groovy
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import common_job_properties
+
+// This job runs the Java postcommit tests on Java 8 for branch-4.7
+mavenJob('bookkeeper_release_branch_47_java8') {
+  description('Runs nightly build for bookkeeper branch-4.7 in Java 8.')
+
+  // Set common parameters.
+  common_job_properties.setTopLevelMainJobProperties(
+    delegate, 'branch-4.7', 'JDK 1.8 (latest)')
+
+  // Sets that this is a PostCommit job.
+  common_job_properties.setPostCommit(
+      delegate,
+      'H 12 * * *',
+      false)
+
+  // Allows triggering this build against pull requests.
+  common_job_properties.enablePhraseTriggeringFromPullRequest(
+      delegate,
+      'Release Branch 4.7 Java 8 Test',
+      '/test-release-branch-47-java8')
+
+  // Set maven parameters.
+  common_job_properties.setMavenConfig(delegate)
+
+  // Maven build project.
+  goals('clean apache-rat:check package spotbugs:check -Ddistributedlog -Dstream -DstreamTests')
+}
diff --git a/.test-infra/jenkins/job_bookkeeper_release_branch_47_java9.groovy b/.test-infra/jenkins/job_bookkeeper_release_branch_47_java9.groovy
new file mode 100644
index 0000000000..968e6cdb20
--- /dev/null
+++ b/.test-infra/jenkins/job_bookkeeper_release_branch_47_java9.groovy
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import common_job_properties
+
+// This job runs the Java postcommit tests on Java 9 for branch-4.7
+mavenJob('bookkeeper_release_branch_47_java9') {
+  description('Runs nightly build for bookkeeper branch-4.7 in Java 9.')
+
+  // Set common parameters.
+  common_job_properties.setTopLevelMainJobProperties(
+    delegate, 'branch-4.7', 'JDK 1.9 (latest)')
+
+  // Sets that this is a PostCommit job.
+  common_job_properties.setPostCommit(
+      delegate,
+      'H 12 * * *',
+      false)
+
+  // Allows triggering this build against pull requests.
+  common_job_properties.enablePhraseTriggeringFromPullRequest(
+      delegate,
+      'Release Branch 4.7 Java 9 Test',
+      '/test-release-branch-47-java9')
+
+  // Set maven parameters.
+  common_job_properties.setMavenConfig(delegate)
+
+  // Maven build project.
+  goals('clean apache-rat:check package spotbugs:check -Ddistributedlog -Dstream -DstreamTests')
+}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services