I did try the direct call with full path, I did not work, as I expected. A little more info. I am not using a slave, just a Windows 8.1 Virtual Machine (which will later become a remote desktop on a server.)
Op vrijdag 10 oktober 2014 10:10:49 UTC+2 schreef Menos II: > > The batch files are not in a subdirectory no. I did check the working > directory when the error fires and the batch files it needs to run do not > appear there. almost seems like the subversion folder is not being checked > out correctly. I double checked everything and the build step "Execute > Windows batch command" has the right batch file in it, I also checked the > spelling. the subversion folder it checks out also has the batch file in > it. I will still try the direct call with full file path (does not hurt to > try right). > > I also remember that Windows 8.1 does need cmd to run as admin for certain > things to work. could this be the same issue here? If so, is there a way to > let Jenkins run cmd as admin? > > I am sorry if I am providing the wrong information here. This is my first > time working with Jenkins and subversion. (I am a student intern at our > company) > > Op donderdag 9 oktober 2014 18:06:08 UTC+2 schreef LesMikesell: >> >> On Thu, Oct 9, 2014 at 10:34 AM, Menos II <[email protected]> wrote: >> > 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. >> >> I thought you said the batch files would check out into a >> subdirectory. Unless you explicitly change directories in the calling >> build script, your working directory should be the (buildname). Using >> a path relative to that would continue to work if you run it on a >> slave with a different remote FS root location. >> >> -- >> Les Mikesell >> [email protected] >> > -- 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.
