This is an automated email from the ASF dual-hosted git repository.

pdallig pushed a commit to branch branch-0.12
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/branch-0.12 by this push:
     new ccc0e70d64 [ZEPPELIN-6137] Fix Windows compile tests
ccc0e70d64 is described below

commit ccc0e70d64a031312ec4227f07787397c8fca1a0
Author: Philipp Dallig <philipp.dal...@gmail.com>
AuthorDate: Thu Oct 24 11:49:01 2024 +0200

    [ZEPPELIN-6137] Fix Windows compile tests
    
    ### What is this PR for?
    This pull request changes the JDK for appveyor to JDK 11.
    Please note that only the “Visual Studio 2019” worker image has JDK 11 
installed. “Visual Studio 2022”, on the other hand, does not have JDK 11 
installed. Take a look into 
https://www.appveyor.com/docs/windows-images-software/#visual-studio-2022
    
    ### What type of PR is it?
    Improvement
    
    ### What is the Jira issue?
    * https://issues.apache.org/jira/browse/ZEPPELIN-6137
    
    ### How should this be tested?
    * appveyor tests
    
    ### Questions:
    * Does the license files need to update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    
    Closes #4883 from Reamer/appveyor_jdk11.
    
    Signed-off-by: Philipp Dallig <philipp.dal...@gmail.com>
    (cherry picked from commit 0203ee595e8093f8fb91bc9c8b2f85186051e741)
    Signed-off-by: Philipp Dallig <philipp.dal...@gmail.com>
---
 .appveyor.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index 52395be924..1ef145a226 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -31,7 +31,7 @@ platform:
 build: Script
 
 os:
-  - Visual Studio 2022
+  - Visual Studio 2019
 
 environment:
   APPVEYOR_SAVE_CACHE_ON_ERROR: True
@@ -40,7 +40,7 @@ cache:
   - '%USERPROFILE%/.m2'
 
 build_script:
-  - cmd: set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
+  - cmd: set JAVA_HOME=C:\Program Files\Java\jdk11
   - cmd: >-
       ./mvnw.cmd clean package -DskipTests ^
       
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade.mojo.ShadeMojo=warn 
^

Reply via email to