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

Allow groovy.bat in addition to groovy.exe

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: groovy-plugin
    • Labels:
      None
    • Environment:
      Windows
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: