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??
>
>
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
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*
>
>
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*
^