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

Automatic buckminster installation on slaves broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • buckminster-plugin
    • None
    • - RHEL 5
      - Windows Server 2008 R2
      - Buckminster plugin 1.1.0
      - Jenkins 1.414 and 1.451

      Hello everyone

      I have a Jenkins Master running on Linux RHEL 5 and configured it to automatically
      install buckminster locally using director. This works ok.

      Then I configured a slave, which is started via jnpl on a windows machine (Windows
      Server 2008 R2). When executing a build on this slave, the install command is not executed.
      I get the following error:

      FATAL: java.io.FileNotFoundException: No 'plugins' directory has been found in c:\Temp\headless-trunk
      java.lang.RuntimeException: java.io.FileNotFoundException: No 'plugins' directory has been found in c:\Temp\headless-trunk
      at hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:265)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700)
      at hudson.model.Build$RunnerImpl.build(Build.java:178)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)
      at hudson.model.Run.run(Run.java:1409)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Caused by: java.io.FileNotFoundException: No 'plugins' directory has been found in c:\Temp\headless-trunk
      at hudson.plugins.buckminster.command.CommandLineBuilder.findEquinoxLauncher(CommandLineBuilder.java:391)
      at hudson.plugins.buckminster.command.CommandLineBuilder.addStarterParameters(CommandLineBuilder.java:252)
      at hudson.plugins.buckminster.command.CommandLineBuilder.buildCommands(CommandLineBuilder.java:146)
      at hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:259)
      ... 9 more

      I could observe this behaviour regardless of the OS of the master or the slave.

      On a side note: When using a linux master with a linux slave and not overriding the path
      to the buckminster install in the slave config, then the install script has been executed. O_o

      Another strange behavior: On a windows master I configured buckminster to install it self with director. No slaves
      at all this time. When executing a build the plugin complains that it could not start "sh".
      FATAL: java.io.IOException: Cannot run program "sh" (in directory "C:\Temp\headless-trunk")
      This look like a separate bug. Shuld I file an other bug?

      Buckminster plugin version is 1.1.0
      Jenkins version is 1.414 and 1.451

            jutzig jutzig
            mrbobbi guidap
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: