I have an ANT build that has been working just fine for quite a while and suddenly it has stopped working and I am trying to figure out why. Here is what the Jenkins console displays and my notes about it. I've obscure the actual site name, directory values, and Jenkins job name, etc. "uvwx" is the Jenkins job that is failing to build
In Jenkins console:
No changes for svn://ab/cd/ef/gh/ijk since the previous build
Copied 3 artifacts from "lmnop" build number 137
Copied 2 artifacts from "qrst" build number 2700
[uvwx] $ cmd.exe /C "C:\Users\jenkins\jenkins_home\tools\hudson.tasks.Ant_AntInstallation\Ant_1.9.6\bin\ant.bat get-revision compile-tests compile-javadoc package-jar package-javadoc && exit %%ERRORLEVEL%%"
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_201\lib\tools.jar
My notes about this:
What I want to know is: WHY does the build "expect" to find it in "c:\Program Files\Java\jre1.8.0_201"? There IS no such path on the machine on which the job is building...
How can I find out WHERE that value is coming from? I've been looking at the ant, build files and source code and don't see where that value would be set.
Thank you.