Jenkins error FATAL: cannot find build script in test C: \ selenium for moveon \ moveon4tests1 \ build.xml

I use Jenkins and Ant to run selenium tests. It works great when I run them on my local machine. Now I have a Jenkins server, which is located in a different place, and I have to run my tests on this server. when I tried to run tests on this server, it does not work because it could not find the build.xml file. can you tell me how to change the path to the home directory?

 Started by user :********** Building in workspace /var/lib/jenkins/jobs/moveon4 java tests/workspace FATAL: Unable to find build script at C:\selenium tests for move\movetests1\build.xml Build step 'Invoke Ant' marked build as failure Finished: FAILURE 
+4
source share
1 answer

Do you use "Invoke Ant" in setting up a Jenkins job for the build phase that runs your Ant construct? If so, the location of the assembly file is hidden in the Advanced section - this is Jenkins' annoying quirk.

+7
source

All Articles