Issue Type: Bug Bug
Affects Versions: current
Assignee: Kohsuke Kawaguchi
Components: batch-task
Created: 27/Aug/14 2:14 PM
Description:

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.

Environment: Windows Server 2008
Project: Jenkins
Labels: console windows commandline batch
Priority: Major Major
Reporter: ilie daniel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to