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

Windows master, linux slave doesn't resolve rake correctly

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • rake-plugin
    • None
    • Windows 2003 master
      Linux CentOS 5.4 slave
      Hudson 1.353
      rake plugin 1.6.2

      I set up a ruby installation, like

      ${WORKSPACE}/jruby/1.4.0

      (this works with the ant plugin, so I tried it here) Then I created a job using this rake instance. In the log it says "FATAL: ${WORKSPACE}\bin\rake.bat doesn't exist"

      Not sure why it would be looking for a .bat file on a linux machine, but I'm guessing it has to do with my windows master. Also, it's not honoring the path I set up, even if it said ${WORKSPACE}/jruby/1.4.0/bin/rake doesn't exist I would understand, but this is dropping everything.

          [JENKINS-6194] Windows master, linux slave doesn't resolve rake correctly

          This is definitely a problem because of the mixed environment, I never thought about this situation and I'm wondering how other build tool extensions solve it.

          Perhaps the problem with the path is related with JENKINS-5110.

          david_calavera added a comment - This is definitely a problem because of the mixed environment, I never thought about this situation and I'm wondering how other build tool extensions solve it. Perhaps the problem with the path is related with JENKINS-5110 .

          aflat added a comment -

          I had the same issue with the perforce plugin, http://issues.jenkins-ci.org/browse/JENKINS-5403 the developer solved it here http://fisheye.jenkins-ci.org/viewrep/Hudson/trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforceMailResolver.java?r1=27660&r2=27661&u=3

          Not sure if it helps at all. And the other issue does look alot like 5110

          aflat added a comment - I had the same issue with the perforce plugin, http://issues.jenkins-ci.org/browse/JENKINS-5403 the developer solved it here http://fisheye.jenkins-ci.org/viewrep/Hudson/trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforceMailResolver.java?r1=27660&r2=27661&u=3 Not sure if it helps at all. And the other issue does look alot like 5110

          Please aflat, could you try this snapshot to ensure the bug is fixed?

          david_calavera added a comment - Please aflat, could you try this snapshot to ensure the bug is fixed?

          Code changed in hudson
          User: : david_calavera
          Path:
          trunk/hudson/plugins/rake/src/main/java/hudson/plugins/rake/Rake.java
          http://jenkins-ci.org/commit/29893
          Log:
          fixes JENKINS-6194: Windows master, linux slave doesn't resolve rake correctly

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : david_calavera Path: trunk/hudson/plugins/rake/src/main/java/hudson/plugins/rake/Rake.java http://jenkins-ci.org/commit/29893 Log: fixes JENKINS-6194 : Windows master, linux slave doesn't resolve rake correctly

          Fixed in Rake 1.6.3

          david_calavera added a comment - Fixed in Rake 1.6.3

            david_calavera david_calavera
            aflat aflat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: