groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akom (JIRA)" <>
Subject [jira] [Created] (GROOVY-8821) Groovy doesn't work in Windows Docker nanoserver based containers
Date Tue, 02 Oct 2018 15:34:00 GMT
Akom created GROOVY-8821:

             Summary: Groovy doesn't work in Windows Docker nanoserver based containers
                 Key: GROOVY-8821
             Project: Groovy
          Issue Type: Bug
         Environment: Groovy 2.5.2 (or 2.4.3)
Windows 2016 host with microsoft/nanoserver based Docker container
            Reporter: Akom

groovy.bat relies on c:\windows\system32\find.exe, which is notably absent in Microsoft containers. 
There is some logic to avoid clashing with cygwin's version of find.exe (which I do have),
but it doesn't cover the case of the correct find.exe missing altogether.

When running Jenkins, this is what I see:
 to c:\jenkinswork\tools\hudson.plugins.groovy.GroovyInstallation\Groovy_Latest on docker-003fbd390qkb2
on Windows 01
[00b97b92] $ c:\jenkinswork\tools\hudson.plugins.groovy.GroovyInstallation\Groovy_Latest\bin\groovy.bat
find: '/I': No such file or directory
find: '/C': No such file or directory

ERROR: JAVA_HOME is set to an invalid directory: c:\jenkins\jdk\JDK_1.9
Please set the JAVA_HOME variable in your environment

This message was sent by Atlassian JIRA

View raw message