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

Slave agent can't execute programm on Win

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Hi set master/slave configuration where slave is Win XP machine. I tested that
      ant is on path, see screenshot. Then I started a new build but the exception is
      thrown:

      FATAL: command execution failed
      java.io.IOException: Cannot run program "ant" (in directory
      "E:\hudson\space\workspace\TestBinary"): CreateProcess error=2, The system
      cannot find the file specified
      at java.lang.ProcessBuilder.start(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at hudson.Proc$LocalProc.<init>(Proc.java:79)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:130)
      at hudson.model.Slave$RemoteLaunchCallable.call(Slave.java:415)
      at hudson.model.Slave$RemoteLaunchCallable.call(Slave.java:399)
      at hudson.remoting.UserRequest.perform(UserRequest.java:57)
      at hudson.remoting.UserRequest.perform(UserRequest.java:22)
      at hudson.remoting.Request$2.run(Request.java:167)
      at
      edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      at
      edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: CreateProcess error=2, The system cannot find
      the file specified
      at java.lang.ProcessImpl.create(Native Method)
      at java.lang.ProcessImpl.<init>(Unknown Source)
      at java.lang.ProcessImpl.start(Unknown Source)
      ... 12 more

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

              Created:
              Updated:
              Resolved: