[ 
https://issues.apache.org/jira/browse/BEAM-6703?focusedWorklogId=214832&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-214832
 ]

ASF GitHub Bot logged work on BEAM-6703:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Mar/19 15:37
            Start Date: 18/Mar/19 15:37
    Worklog Time Spent: 10m 
      Work Description: mwalenia commented on pull request #7999: [BEAM-6703] 
Added a Jenkins job definition for Java 11 enabled Dataflow harness
URL: https://github.com/apache/beam/pull/7999#discussion_r266503064
 
 

 ##########
 File path: runners/google-cloud-dataflow-java/build.gradle
 ##########
 @@ -178,6 +178,31 @@ task validatesRunnerLegacyWorkerTest(type: Test) {
   }
 }
 
+task validatesRunnerLegacyWorkerJava11Test(type: Test) {
+    group = "Verification"
+    dependsOn 
":beam-runners-google-cloud-dataflow-java-legacy-worker:shadowJar"
+    systemProperty "beamTestPipelineOptions", JsonOutput.toJson([
+            "--runner=TestDataflowRunner",
+            "--project=${dataflowProject}",
+            "--tempRoot=${dataflowValidatesTempRoot}",
+            "--dataflowWorkerJar=${dataflowLegacyWorkerJar}",
+    ])
+    
+    systemProperty "java.specification.version", "11"
 
 Review comment:
   This java specification system property has no effect on compilation, it's 
used only in `DataflowRunner.java` to select proper worker harness image to 
pull from GCR. This task runs the suite on Dataflow using a Java 11 worker 
harness - this setting controls only the harness image
 
----------------------------------------------------------------
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: 214832)
    Time Spent: 14h  (was: 13h 50m)

> 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: 14h
>  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)

Reply via email to