I have updated the S drive thank you both (Slide and Jer). I need to explain that the reason why I have to call the executable this way by stating the drive letter is because the executable is a PeopleSoft Test Framework that I am calling to login to playback a recorded test script. So, moving the executable to the same E drive where Jenkins is would not work I think.
On Tuesday, October 4, 2016 at 8:55:51 AM UTC-5, Kofi Boateng wrote: > > Hi, > > I have installed Jenkins on my windows E drive. I created a Jenkins job to > run the following command. The command is to run a windows executable from > my windows C drive. However, the status of the run is Failed. Any help to > fix the failure would be much appreciated. > > call *"C:\Program Files\PeopleSoft\PeopleSoft Test > Framework\PsTestFw.exe"* -CD=HCMTST1 -CO=username -CP=password -TST=PYR > -TC=PSQUARYNAME -EXO=HCMTST1 -LOG=*"S:\Users\Kofi.Boateng\* > *ptf_log2.txt"* > > First, is the above syntax correct? I am not familiar with batch scripting > so I am not sure if I need any escape sequence or quotes in the absolute > path to the .exe as there are spaces in some of the folder names. > > Second, do I have environmental variable issue here? Jenkins is on E drive > which is trying to execute a program on C drive and writing to a file on S > drive all on one windows machine. > > Regards, > > Kofi Boateng > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8aa98a1b-ea55-40dc-8b6f-9ca4b7799e14%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
