java.lang.RuntimeException: java.io.FileNotFoundException: No 'plugins' directory has been found in c:\Temp\headless-trunk

Jenkins JIRA | guidap | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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

    Jenkins JIRA | 5 years ago | guidap
    java.lang.RuntimeException: java.io.FileNotFoundException: No 'plugins' directory has been found in c:\Temp\headless-trunk
  2. 0

    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

    Jenkins JIRA | 5 years ago | guidap
    java.lang.RuntimeException: java.io.FileNotFoundException: No 'plugins' directory has been found in c:\Temp\headless-trunk

    Root Cause Analysis

    1. java.io.FileNotFoundException

      No 'plugins' directory has been found in c:\Temp\headless-trunk

      at hudson.plugins.buckminster.command.CommandLineBuilder.findEquinoxLauncher()
    2. hudson.plugins.buckminster
      EclipseBuckminsterBuilder.perform
      1. hudson.plugins.buckminster.command.CommandLineBuilder.findEquinoxLauncher(CommandLineBuilder.java:391)
      2. hudson.plugins.buckminster.command.CommandLineBuilder.addStarterParameters(CommandLineBuilder.java:252)
      3. hudson.plugins.buckminster.command.CommandLineBuilder.buildCommands(CommandLineBuilder.java:146)
      4. hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:259)
      4 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700)
      3. hudson.model.Build$RunnerImpl.build(Build.java:178)
      4. hudson.model.Build$RunnerImpl.doRun(Build.java:139)
      5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)
      6. hudson.model.Run.run(Run.java:1409)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:238)
      9 frames