[
https://issues.apache.org/jira/browse/BEAM-6703?focusedWorklogId=214764&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-214764
]
ASF GitHub Bot logged work on BEAM-6703:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Mar/19 13:35
Start Date: 18/Mar/19 13:35
Worklog Time Spent: 10m
Work Description: mwalenia commented on pull request #8053: [BEAM-6703]
Added a Jenkins job to test Dataflow portability API with Java 11
URL: https://github.com/apache/beam/pull/8053#discussion_r266440116
##########
File path:
.test-infra/jenkins/job_PostCommit_Java11_ValidatesRunner_PortabilityApi_Dataflow.groovy
##########
@@ -0,0 +1,48 @@
+/*
+ * 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 CommonJobProperties as commonJobProperties
+import PostcommitJobBuilder
+
+
+PostcommitJobBuilder.postCommitJob('beam_PostCommit_Java11_ValidatesRunner_PortabilityApi_Dataflow',
+ 'Run Dataflow PortabilityApi ValidatesRunner with Java 11', 'Google Cloud
Dataflow Runner PortabilityApi ValidatesRunner Java 11 Tests', this) {
+
+ description('Runs the ValidatesRunner suite on the Java 11 enabled Dataflow
PortabilityApi runner.')
+
+ commonJobProperties.setTopLevelMainJobProperties(delegate, 'master', 180)
+
+ publishers {
+ archiveJunit('**/build/test-results/**/*.xml')
+ }
+
+ steps {
+ gradle {
+ rootBuildScriptDir(commonJobProperties.checkoutDir)
+
tasks(':beam-runners-google-cloud-dataflow-java:validatesRunnerFnApiWorkerTest')
+ switches ('-Pdockerfile=Dockerfile-java11')
Review comment:
No, that's not the case here. By supplying a Java 11 Docker image, we ensure
that during execution on Dataflow, there's only JRE 11 available. The tests are
executed on Dataflow runners, so running gradle with Java 11 is not necessary
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 214764)
Time Spent: 13h 40m (was: 13.5h)
> Support Java 11 in Jenkins
> --------------------------
>
> Key: BEAM-6703
> URL: https://issues.apache.org/jira/browse/BEAM-6703
> Project: Beam
> Issue Type: Sub-task
> Components: runner-dataflow, runner-direct
> Reporter: Michal Walenia
> Assignee: Michal Walenia
> Priority: Minor
> Time Spent: 13h 40m
> Remaining Estimate: 0h
>
> In this issue I'll create a Jenkins job that compiles Dataflow and Direct
> runners with tests using Java 8 and runs Validates Runner suites with Java 11
> Runtime.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)