Thanks for the quick reply!

I set the path in system variables. I did not try calling it explicitly 
within the command. I'll try that first thing in the morning and update 
this thread with it's result.
So if I am correct I will need to call C:\Program 
Files(x86)\Jenkins\workspace\[buildname] batchfile.bat? Right now I only 
call the batch file without a path.

Op donderdag 9 oktober 2014 17:29:06 UTC+2 schreef Rob Mandeville:
>
>  How do you set the Windows path?  If you’re not setting it in the job 
> itself, consider it suspect.  The PATH you get if you’re using the master 
> node is the PATH that Jenkins launches with (is it set up as a service?).  
> If you’re using a slave node, you get the PATH that the slave launches with.
>
>  
>
> Either set the PATH in the Batch step that you are running the files in, 
> or call them explicitly by path.  Remember that the batch step will run in 
> the workspace directory, so you should be able to use a relative path.
>
>  
>
> --Rob
>
>  
>  
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *Menos II
> *Sent:* Thursday, October 09, 2014 11:00 AM
> *To:* [email protected] <javascript:>
> *Subject:* batch file is not an internal or external is not recognized as 
> internal or external command
>  
>  
>  
> Hello,
>
> I am trying to build a Delphi XE6 project. The source code is being pulled 
> from two subversion folders. Inside one of these folders are a few .bat 
> files that need to be run. I assigned these .bat files to be run on a build 
> task. When trying to build the project everything goes fine until the build 
> needs the execute the .bat files. I get the following error: [bat file] is 
> not recognized as an internal or external command, operable program or 
> batch file. I already tried adding the subversion and the Jenkins workspace 
> directory to the Windows Path, but this has not fixed the problem. I also 
> disabled UAC.
> Hopefully someone can help me.
>
> System information:
> Windows 8.1
> Jenkins 1.583
> Google Chrome.
>  
> -- 
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>  Click here 
> <https://www.mailcontrol.com/sr/lY!cibUq2L!GX2PQPOmvUlHUcPnZ!qyDFruFDv!cpa7lEZVLFhpbq7YkKSbFUrl7ZzI00M6Pw3ug1M3YVHc55g==>
>  
> to report this email as spam.
>  
> ------------------------------
> This e-mail and the information, including any attachments it contains, 
> are intended to be a confidential communication only to the person or 
> entity to whom it is addressed and may contain information that is 
> privileged. If the reader of this message is not the intended recipient, 
> you are hereby notified that any dissemination, distribution or copying of 
> this communication is strictly prohibited. If you have received this 
> communication in error, please immediately notify the sender and destroy 
> the original message.
>
> Thank you.
>
> Please consider the environment before printing this email.
>  

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to