zentol commented on a change in pull request #11222: [FLINK-15834] Set up 
nightly builds in Azure & various CI improvements
URL: https://github.com/apache/flink/pull/11222#discussion_r384443539
 
 

 ##########
 File path: tools/azure-pipelines/jobs-template.yml
 ##########
 @@ -132,20 +134,26 @@ jobs:
         restoreKeys: $(CACHE_FALLBACK_KEY)
         path: $(MAVEN_CACHE_FOLDER)
       displayName: Cache Maven local repo
+      continueOnError: true
     
     # download artifacts
     - task: DownloadPipelineArtifact@2
       inputs:
         path: $(CACHE_FLINK_DIR)
         artifact: FlinkCompileCacheDir-${{parameters.stage_name}}
+    - script: |
+        echo "##vso[task.setvariable variable=JAVA_HOME]$(JAVA_HOME_11_X64)"
 
 Review comment:
   Is this to have the tests run on java 11 if java 11 is available on the 
machine? Shouldn't the container have this stuff set up already (or in other 
words, what's the benefit in having distinct images if extra steps are required 
to select the jdk version)?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to