Re: doskey support in "Execute Windows batch command" option.

2015-04-12 Thread Richard Bywater
According to http://ss64.com/nt/doskey.html , "You cannot run a Doskey macro from a batch file" I'm guessing it is because Doskey works with the command interpreter level which presumably isn't available in batch files. Richard. On Sun, 12 Apr 2015 at 17:59 Ankit Singhal wrote: > Anyone?? > >

Re: doskey support in "Execute Windows batch command" option.

2015-04-11 Thread corneil.duples...@gmail.com
AFAIK Jenkins will created a temporary batch file from the 'Execute Windows Commands' and just execute that and check the error level afterwards. The output is captured and becomes part of the build output. I don't think it is a matter of Jenkins recognizing the command. Create a batch file with s

Re: doskey support in "Execute Windows batch command" option.

2015-04-11 Thread Ankit Singhal
Anyone?? On Saturday, April 11, 2015 at 9:22:37 AM UTC+5:30, Ankit Singhal wrote: > > Hi All > > We have build script which sets a doskey for certain commands. > > Jenkins somehow is not able to recognize doskey: > > Problem is easily reproducible, > > *Script: foo.bat* > >

doskey support in "Execute Windows batch command" option.

2015-04-10 Thread Ankit Singhal
Hi All We have build script which sets a doskey for certain commands. Jenkins somehow is not able to recognize doskey: Problem is easily reproducible, *Script: foo.bat* doskey d=dir === *Jenkins : Execute Windows batch command* ^