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.
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
--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Click here to report this email as spam.