-
Bug
-
Resolution: Unresolved
-
Major
Hi,
I am getting following error while building my project on local machine using jenkins
Github link for project is : https://github.com/amitjaincoer191/iBatisTestingLearn/tree/master/iBatisTest
I checked pom.xml file is correct.
00:00:00.013 Started by user Amit Jain
00:00:00.039 Building in workspace C:\Program Files\Jenkins\workspace\BasicEAFreeStyle
00:00:00.040 [WS-CLEANUP] Deleting project workspace...
00:00:00.243 [WS-CLEANUP] Done
00:00:00.254 Cloning the remote Git repository
00:00:00.254 Cloning repository https://github.com/amitjaincoer191/iBatisTestingLearn.git
00:00:00.256 > C:\Program Files\Git\bin\git.exe init C:\Program Files\Jenkins\workspace\BasicEAFreeStyle # timeout=10
00:00:01.005 Fetching upstream changes from https://github.com/amitjaincoer191/iBatisTestingLearn.git
00:00:01.005 > C:\Program Files\Git\bin\git.exe --version # timeout=10
00:00:01.195 > C:\Program Files\Git\bin\git.exe fetch --tags --progress https://github.com/amitjaincoer191/iBatisTestingLearn.git +refs/heads/:refs/remotes/origin/
00:00:09.158 > C:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/amitjaincoer191/iBatisTestingLearn.git # timeout=10
00:00:09.419 > C:\Program Files\Git\bin\git.exe config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10
00:00:09.612 > C:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/amitjaincoer191/iBatisTestingLearn.git # timeout=10
00:00:09.820 Fetching upstream changes from https://github.com/amitjaincoer191/iBatisTestingLearn.git
00:00:09.821 > C:\Program Files\Git\bin\git.exe fetch --tags --progress https://github.com/amitjaincoer191/iBatisTestingLearn.git +refs/heads/:refs/remotes/origin/
00:00:12.216 > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/master^
00:00:12.379 > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/origin/master^{commit}
" # timeout=10
00:00:12.524 Checking out Revision 18daf391cd24ae7ae606abdb7a9d444a3c99d0d8 (refs/remotes/origin/master)
00:00:12.529 > C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
00:00:12.669 > C:\Program Files\Git\bin\git.exe checkout -f 18daf391cd24ae7ae606abdb7a9d444a3c99d0d8
00:00:15.167 First time build. Skipping changelog.
00:00:15.176 [BasicEAFreeStyle] $ cmd.exe /C "mvn -f iBatisTest compile && exit %%ERRORLEVEL%%"
00:00:46.804 [INFO] Scanning for projects...
00:00:46.971 [INFO]
00:00:46.971 [INFO] ------------------------------------------------------------------------
00:00:46.971 [INFO] Building iBatisTest 0.0.1-SNAPSHOT
00:00:46.971 [INFO] ------------------------------------------------------------------------
00:00:48.702 [INFO]
00:00:48.707 [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ iBatisTest —
00:00:51.421 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
00:00:51.431 [INFO] Copying 3 resources
00:00:51.431 [INFO]
00:00:51.432 [INFO] — maven-compiler-plugin:3.0:compile (default-compile) @ iBatisTest —
00:00:56.202 [INFO] Changes detected - recompiling the module!
00:00:56.252 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
00:00:56.252 [INFO] Compiling 1 source file to C:\Program Files\Jenkins\workspace\BasicEAFreeStyle\iBatisTest\target\classes
00:01:00.995 [INFO] ------------------------------------------------------------------------
00:01:01.001 [INFO] BUILD SUCCESS
00:01:01.002 [INFO] ------------------------------------------------------------------------
00:01:01.002 [INFO] Total time: 14.289s
00:01:01.002 [INFO] Finished at: Mon Feb 27 18:25:54 IST 2017
00:01:01.031 [INFO] Final Memory: 10M/25M
00:01:01.031 [INFO] ------------------------------------------------------------------------
00:01:03.042 Recording test results
00:01:03.082 ERROR: Step 'Publish JUnit test result report' aborted due to exception:
00:01:03.082 org.dom4j.DocumentException: Error on line 1 of document file:///C:/Program%20Files/Jenkins/workspace/BasicEAFreeStyle/iBatisTest/.settings/org.eclipse.jdt.core.prefs : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.
00:01:03.082 at org.dom4j.io.SAXReader.read(SAXReader.java:482)
00:01:03.082 at org.dom4j.io.SAXReader.read(SAXReader.java:264)
00:01:03.082 at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:126)
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:302)
00:01:03.082 at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:244)
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:175)
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:154)
00:01:03.082 at hudson.tasks.junit.TestResult.<init>(TestResult.java:126)
00:01:03.082 at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:132)
00:01:03.082 at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:107)
00:01:03.082 at hudson.FilePath.act(FilePath.java:996)
00:01:03.082 at hudson.FilePath.act(FilePath.java:974)
00:01:03.082 at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:103)
00:01:03.082 at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:128)
00:01:03.082 at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:149)
00:01:03.082 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
00:01:03.082 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
00:01:03.082 at hudson.model.Build$BuildExecution.post2(Build.java:186)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
00:01:03.082 at hudson.model.Run.execute(Run.java:1753)
00:01:03.082 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
00:01:03.082 at hudson.model.ResourceController.execute(ResourceController.java:98)
00:01:03.082 at hudson.model.Executor.run(Executor.java:405)
00:01:03.082 Caused by: org.xml.sax.SAXParseException; systemId: file:///C:/Program%20Files/Jenkins/workspace/BasicEAFreeStyle/iBatisTest/.settings/org.eclipse.jdt.core.prefs; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
00:01:03.082 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
00:01:03.082 at org.dom4j.io.SAXReader.read(SAXReader.java:465)
00:01:03.082 ... 24 more
00:01:03.082 Nested exception:
00:01:03.082 org.xml.sax.SAXParseException; systemId: file:///C:/Program%20Files/Jenkins/workspace/BasicEAFreeStyle/iBatisTest/.settings/org.eclipse.jdt.core.prefs; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
00:01:03.082 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
00:01:03.082 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
00:01:03.082 at org.dom4j.io.SAXReader.read(SAXReader.java:465)
00:01:03.082 at org.dom4j.io.SAXReader.read(SAXReader.java:264)
00:01:03.082 at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:126)
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:302)
00:01:03.082 at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:244)
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:175)
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:154)
00:01:03.082 at hudson.tasks.junit.TestResult.<init>(TestResult.java:126)
00:01:03.082 at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:132)
00:01:03.082 at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:107)
00:01:03.082 at hudson.FilePath.act(FilePath.java:996)
00:01:03.082 at hudson.FilePath.act(FilePath.java:974)
00:01:03.082 at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:103)
00:01:03.082 at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:128)
00:01:03.082 at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:149)
00:01:03.082 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
00:01:03.082 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
00:01:03.082 at hudson.model.Build$BuildExecution.post2(Build.java:186)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
00:01:03.082 at hudson.model.Run.execute(Run.java:1753)
00:01:03.082 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
00:01:03.082 at hudson.model.ResourceController.execute(ResourceController.java:98)
00:01:03.082 at hudson.model.Executor.run(Executor.java:405)
00:01:03.082 Caused: java.io.IOException: Failed to read C:\Program Files\Jenkins\workspace\BasicEAFreeStyle\iBatisTest\.settings\org.eclipse.jdt.core.prefs
00:01:03.082 Is this really a JUnit report file? Your configuration must be matching too many files
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:310)
00:01:03.082 at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:244)
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:175)
00:01:03.082 at hudson.tasks.junit.TestResult.parse(TestResult.java:154)
00:01:03.082 at hudson.tasks.junit.TestResult.<init>(TestResult.java:126)
00:01:03.082 at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:132)
00:01:03.082 at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:107)
00:01:03.082 at hudson.FilePath.act(FilePath.java:996)
00:01:03.082 at hudson.FilePath.act(FilePath.java:974)
00:01:03.082 at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:103)
00:01:03.082 at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:128)
00:01:03.082 at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:149)
00:01:03.082 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
00:01:03.082 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
00:01:03.082 at hudson.model.Build$BuildExecution.post2(Build.java:186)
00:01:03.082 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
00:01:03.082 at hudson.model.Run.execute(Run.java:1753)
00:01:03.082 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
00:01:03.082 at hudson.model.ResourceController.execute(ResourceController.java:98)
00:01:03.082 at hudson.model.Executor.run(Executor.java:405)
00:01:03.084 Finished: FAILURE