Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6839

Allow groovy.bat in addition to groovy.exe

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • groovy-plugin
    • None
    • Windows

      We recently found we couldn't execute the Hudson groovy scripts against groovy.bat file as it used groovy.exe for the executable name on Windows. Since Groovy's binary zip usually precedes the Windows installer, it would be nice to be able to run Groovy scripts just using groovy.bat. I've attached a patch to choose groovy.exe first then default to groovy.bat if groovy.exe does not exist.

            vjuranek vjuranek
            brichins brichins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: