shell - How to run a .cmd file through Jenkins? -



shell - How to run a .cmd file through Jenkins? -

i have .cmd file runs simple script made. want run through jenkins having trouble. of moment, under execute shell have

"%workspace%\filemove\runpse.cmd"

this path file. gives me error,

[workspace] $ sh -xe c:\docume~1\admini~1.mos\locals~1\temp\2\hudson1221785125766485285.sh + '%workspace%\forgefilemove\runpse.cmd' /cygdrive/c/docume~1/admini~1.mos/locals~1/temp/2/hudson1221785125766485285.sh: line 2: fg: no job command build step 'execute shell' marked build failure

i understand .sh files temporaries made jenkins, seeing cannot locate them on computer. unclear on fg: no job control means. have other entering path file under execute shell?

since running on windows, should not execute shell instead execute windows batch command

shell jenkins cmd

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -