See <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/987/display/redirect?page=changes>
Changes: [g.grigelionis] Class.newInstance() is deprecated in Java 9+ ------------------------------------------ Started by upstream project "Ant-Build-Matrix-master-Windows" build number 987 originally caused by: Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on jenkins-win-he-de-2 (Windows) in workspace <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/ws/> [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done No credentials specified Cloning the remote Git repository Cloning repository https://gitbox.apache.org/repos/asf/ant.git > git init > <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/ws/> > # timeout=10 Fetching upstream changes from https://gitbox.apache.org/repos/asf/ant.git > git --version # timeout=10 > git fetch --tags --progress -- https://gitbox.apache.org/repos/asf/ant.git > +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://gitbox.apache.org/repos/asf/ant.git # > timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 > git config remote.origin.url https://gitbox.apache.org/repos/asf/ant.git # > timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 No valid HEAD. Skipping the resetting > git clean -fdx # timeout=10 Fetching upstream changes from https://gitbox.apache.org/repos/asf/ant.git > git fetch --tags --progress -- https://gitbox.apache.org/repos/asf/ant.git > +refs/heads/*:refs/remotes/origin/* Checking out Revision 35d9f3bc9af426f7277b08cbc0452dc65fc586b4 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 35d9f3bc9af426f7277b08cbc0452dc65fc586b4 Commit message: "Merge pull request #133 from twogee/new-instance" > git rev-list --no-walk 40d9c2b28eed3a2a6196b6ed4ee4bbcbdd58fa27 # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content LANG=en_US.utf8 [EnvInject] - Variables injected successfully. [Windows] $ cmd.exe /C "F:\jenkins\tools\ant\latest\bin\ant.bat -file launch-build.xml '"-Djdk=JDK 1.8.0_121 (unlimited security) 64-bit Windows only"' -Dlabel_exp=Windows -Djenkins=t && exit %%ERRORLEVEL%%" Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_152\lib\tools.jar Buildfile: <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/ws/launch-build.xml> launch: [echo] Launching <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/ws/build.bat> allclean test -Dignore.tests.failed=true -Doptional.jars.whenmanifestonly=skip -Djenkins=t [exec] [exec] ... Bootstrapping Ant Distribution [exec] JAVA_HOME=F:\\jenkins\\tools\\java\\jdk1.8.0_121-unlimited-security [exec] JAVA=F:\\jenkins\\tools\\java\\jdk1.8.0_121-unlimited-security\bin\java [exec] JAVAC=F:\\jenkins\\tools\\java\\jdk1.8.0_121-unlimited-security\bin\javac [exec] CLASSPATH=;lib\optional\ant-antunit-1.4.jar;lib\optional\hamcrest-core-1.3.jar;lib\optional\hamcrest-library-1.3.jar;lib\optional\junit-3.8.2.jar;lib\optional\junit-4.13.jar;build\classes;src\main; [exec] ANT_HOME=. [exec] The system cannot find the path specified. [exec] [exec] ... Compiling Ant Classes [exec] [exec] ... Cleaning Up Build Directories [exec] [exec] ... Done Bootstrapping Ant Distribution [exec] Bootstrap FAILED BUILD SUCCESSFUL Total time: 0 seconds Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?