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

Cannot create process on windows

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: batch-task-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: Windows XP
    • Similar Issues:

      Description

      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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: