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

Grails Plugins Fails When Running On Slave

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: grails-plugin
    • Labels:
      None
    • Environment:
      Windows
    • Similar Issues:

      Description

      Apologies for the priority.

      The Grails plugin is incorrectly failing with the error "FATAL: D:\grails-1.2.1\bin\grails.bat doesn't exist". The path does exist and is executable.

      It appears that this check is happening on the master not the slave where it will be executed. The code seems to support that theory. In GrailsBuilder.java there is a line"if (!grailsInstallation.getExists()) {" which will execute on the master, not the slave.

      Have a good day!

        Attachments

          Activity

          Hide
          stefankendall Stefan Kendall added a comment -

          This still seems to be an issue. This is a terrible roadblock, I'm afraid.

          Show
          stefankendall Stefan Kendall added a comment - This still seems to be an issue. This is a terrible roadblock, I'm afraid.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: kiy0taka
          Path:
          src/main/java/com/g2one/hudson/grails/GrailsBuilder.java
          http://jenkins-ci.org/commit/grails-plugin/108de792403c78ca54b9267214fdeca042f82a51
          Log:
          fix bug. refs JENKINS-9649

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: kiy0taka Path: src/main/java/com/g2one/hudson/grails/GrailsBuilder.java http://jenkins-ci.org/commit/grails-plugin/108de792403c78ca54b9267214fdeca042f82a51 Log: fix bug. refs JENKINS-9649

            People

            • Assignee:
              kiy0taka kiy0taka
              Reporter:
              mikefletcher Michael Fletcher
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: