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

Cannot create process on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • batch-task-plugin
    • None
    • Platform: All, OS: Windows XP

      Hudson 1.153
      BatchTask 1.0

      Getting the following when trying to use the batch task plugin on Windows

      [workspace] $ sh -xe C:\hudson48765.sh
      command execution failed
      java.io.IOException: CreateProcess: sh -xe C:\hudson48765.sh error=2
      at java.lang.ProcessImpl.create(Native Method)
      at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
      at java.lang.ProcessImpl.start(ProcessImpl.java:30)
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
      at hudson.Proc$LocalProc.<init>(Proc.java:80)
      at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:290)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:281)
      at hudson.Launcher.launch(Launcher.java:119)
      at hudson.Launcher.launch(Launcher.java:71)
      at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:61)
      at hudson.plugins.batch_task.BatchRun.run(BatchRun.java:209)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:62)

            kohsuke Kohsuke Kawaguchi
            stephenconnolly Stephen Connolly
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: