Is Jenkins running as your user? If not, then it probably won't have access
to S:\Users\Kofi.Boateng. You would probably want to put the log in the
workspace of the job LOG="%WORKSPACE%\ptf_log2.txt"

On Tue, Oct 4, 2016 at 6:55 AM Kofi Boateng <kboat...@gmail.com> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/a5e3b33a-0aca-46a7-972e-eef651e2f65d%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/a5e3b33a-0aca-46a7-972e-eef651e2f65d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVe2rm5UKs3MeJA50Knna0Gk-TXAK%3DF5wQuzzGEeb6Cf0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to