• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • nant-plugin
    • None
    • Platform: All, OS: All

      We have FC6 Hudson installation and Win2003 node as slave.
      Plug-in tries to use master node settings for executionon slave, for example it
      adds '/bin/NAnt' to NANT_HOME, instead of '\bin\NAnt.exe' so error 'FATAL:
      C:\nant/bin/NAnt doesn't exist' appears

          [JENKINS-1535] NAnt plug-in doesn't work on slaves

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/plugins/nant/src/main/java/hudson/plugins/nant/NantBuilder.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=8,489
          Log:
          [fixed] modified to work with Unix master. In 1.1 (issue #1535)

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/plugins/nant/src/main/java/hudson/plugins/nant/NantBuilder.java http://fisheye4.cenqua.com/changelog/hudson/?cs=8,489 Log: [fixed] modified to work with Unix master. In 1.1 (issue #1535)

          jazzjack added a comment -

          should I reconfig anything?
          it fails now:
          FATAL: Unable to serialize
          hudson.plugins.nant.NantBuilder$NantInstallation$1@99860f
          java.io.IOException: Unable to serialize
          hudson.plugins.nant.NantBuilder$NantInstallation$1@99860f
          at hudson.remoting.UserRequest.serialize(UserRequest.java:103)
          at hudson.remoting.UserRequest.<init>(UserRequest.java:37)
          at hudson.remoting.Channel.call(Channel.java:389)
          at
          hudson.plugins.nant.NantBuilder$NantInstallation.getExecutable(NantBuilder.java:295)
          at hudson.plugins.nant.NantBuilder.perform(NantBuilder.java:124)
          at
          hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:33)
          at hudson.model.Build$RunnerImpl.build(Build.java:146)
          at hudson.model.Build$RunnerImpl.doRun(Build.java:122)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224)
          at hudson.model.Run.run(Run.java:749)
          at hudson.model.Build.run(Build.java:102)
          at hudson.model.ResourceController.execute(ResourceController.java:70)
          at hudson.model.Executor.run(Executor.java:71)
          Caused by: java.io.NotSerializableException:
          hudson.plugins.nant.NantBuilder$NantInstallation
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
          at
          java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
          at
          java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
          at
          java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
          at hudson.remoting.UserRequest.serialize(UserRequest.java:100)
          ... 12 more

          jazzjack added a comment - should I reconfig anything? it fails now: FATAL: Unable to serialize hudson.plugins.nant.NantBuilder$NantInstallation$1@99860f java.io.IOException: Unable to serialize hudson.plugins.nant.NantBuilder$NantInstallation$1@99860f at hudson.remoting.UserRequest.serialize(UserRequest.java:103) at hudson.remoting.UserRequest.<init>(UserRequest.java:37) at hudson.remoting.Channel.call(Channel.java:389) at hudson.plugins.nant.NantBuilder$NantInstallation.getExecutable(NantBuilder.java:295) at hudson.plugins.nant.NantBuilder.perform(NantBuilder.java:124) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:33) at hudson.model.Build$RunnerImpl.build(Build.java:146) at hudson.model.Build$RunnerImpl.doRun(Build.java:122) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) Caused by: java.io.NotSerializableException: hudson.plugins.nant.NantBuilder$NantInstallation at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at hudson.remoting.UserRequest.serialize(UserRequest.java:100) ... 12 more

          D'oh. Fixed.

          Kohsuke Kawaguchi added a comment - D'oh. Fixed.

          jazzjack added a comment -

          works well!
          thanks, kohsuke the great!

          jazzjack added a comment - works well! thanks, kohsuke the great!

            Unassigned Unassigned
            jazzjack jazzjack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: