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

Running a batch command failure

XMLWordPrintable

      I have a .bat file that will start some servers and running that bat with a simple double click works just fine.

      Running the same bat file from Jenkins will start the execution but will produce some errors due to console input problems on that .exe file called from batch.

      It should be no difference between those 2 ways of running batch files...

      13:38:54 ${SOME_PATH}>shared\api\ServerManagerClient.exe /wait:5 /serverManager:localhost:7764 /command:addServer /gn:OrderBook /sn:ManualAdapter /in:TS_ManualAdapter /pcu:file:/${SOME_PATH_2} /wd:${SOME_PATH_3}
      13:38:54 Error executing command 'addServer'
      13:38:54 Cannot see if a key has been pressed when either application does not have a console or when console input has been redirected from a file. Try Console.In.Peek.

            Unassigned Unassigned
            biriuck ilie daniel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: