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

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

                Author: ASF GitHub Bot
            Created on: 04/Feb/20 08:14
            Start Date: 04/Feb/20 08:14
    Worklog Time Spent: 10m 
      Work Description: mwalenia commented on pull request #10689: [BEAM-6703] 
Make Dataflow ValidatesRunner test use Java 11 in test execution
URL: https://github.com/apache/beam/pull/10689#discussion_r374525050
 
 

 ##########
 File path: 
.test-infra/jenkins/job_PostCommit_Java_ValidatesRunner_Dataflow_Java11.groovy
 ##########
 @@ -20,26 +20,40 @@ import CommonJobProperties as commonJobProperties
 import PostcommitJobBuilder
 
 
-PostcommitJobBuilder.postCommitJob('beam_PostCommit_Java11_ValidatesRunner_Dataflow',
+PostcommitJobBuilder.postCommitJob('beam_PostCommit_Java_ValidatesRunner_Dataflow_Java11',
   'Run Dataflow ValidatesRunner Java 11', 'Google Cloud Dataflow Runner 
ValidatesRunner Tests On Java 11', this) {
 
   description('Runs the ValidatesRunner suite on the Dataflow runner with Java 
11 worker harness.')
 
-  commonJobProperties.setTopLevelMainJobProperties(delegate, 'master', 270)
+  def JAVA_11_HOME = '/usr/lib/jvm/java-11-openjdk-amd64'
+  def JAVA_8_HOME = '/usr/lib/jvm/java-8-openjdk-amd64'
 
+  commonJobProperties.setTopLevelMainJobProperties(delegate, 'master', 270)
   publishers {
     archiveJunit('**/build/test-results/**/*.xml')
   }
 
   steps {
+    gradle {
+      rootBuildScriptDir(commonJobProperties.checkoutDir)
 
 Review comment:
   I think we want to guarantee that Beam compiled with 1.8 as per release 
process will work on Java 11 runtime.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 381437)
    Time Spent: 19h  (was: 18h 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: Michał Walenia
>            Assignee: Michał Walenia
>            Priority: Minor
>             Fix For: Not applicable
>
>          Time Spent: 19h
>  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
(v8.3.4#803005)

Reply via email to