Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
生成成功后的jenkins错误_Jenkins_Symfony 2.3_Jdepend - Fatal编程技术网

生成成功后的jenkins错误

生成成功后的jenkins错误,jenkins,symfony-2.3,jdepend,Jenkins,Symfony 2.3,Jdepend,我和詹金斯有问题。它报告说,我的symfony2项目的构建是成功的,但紧接着它就崩溃了 ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception java.io.EOFException: input contained no data 我不知道为什么,在网上也找不到任何关于这个错误的帮助。 它看起来是出乎意料的。昨天建造工作做得很好 这是我的日志: jslint: [ex

我和詹金斯有问题。它报告说,我的symfony2项目的构建是成功的,但紧接着它就崩溃了

ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception
java.io.EOFException: input contained no data
我不知道为什么,在网上也找不到任何关于这个错误的帮助。 它看起来是出乎意料的。昨天建造工作做得很好

这是我的日志:

 jslint:
 [exec] Result: 1

 build:

 BUILD SUCCESSFUL
 Total time: 13 minutes 21 seconds
 [CHECKSTYLE] Collecting checkstyle analysis files...
 [CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml
 [CHECKSTYLE] Parsing 1 files in /var/lib/jenkins/jobs/DEVELOPMENT/workspace
 [CHECKSTYLE] Successfully parsed file /var/lib/jenkins/jobs/DEVELOPMENT/workspace/build/logs/checkstyle.xml of module  with 3 warnings.
 [CHECKSTYLE] Computing warning deltas based on reference build #54
 [DRY] Collecting duplicate code analysis files...
 [DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
 [DRY] Parsing 1 files in /var/lib/jenkins/jobs/DEVELOPMENT/workspace
 [DRY] Successfully parsed file /var/lib/jenkins/jobs/DEVELOPMENT/workspace/build/logs/pmd-cpd.xml of module  with 207 warnings.
 [DRY] Computing warning deltas based on reference build #54
 [xUnit] [INFO] - Starting to record.
 [xUnit] [INFO] - Processing PHPUnit-3.x (default)
 [xUnit] [INFO] - [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/var/lib/jenkins/jobs/DEVELOPMENT/workspace' for the testing framework 'PHPUnit-3.x (default)'.
 [xUnit] [INFO] - Check 'Failed Tests' threshold.
 [xUnit] [INFO] - Check 'Skipped Tests' threshold.
 [xUnit] [INFO] - Setting the build status to SUCCESS
 [xUnit] [INFO] - Stopping recording.
 [JDepend] JDepend plugin is ready
 [JDepend] Found 894 classes in 253 packages
 ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception
 java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at hudson.plugins.violations.parse.AbstractParser.expectNextTag(AbstractParser.java:262)
at hudson.plugins.violations.types.pmd.PMDParser.execute(PMDParser.java:39)
at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:57)
at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:187)
at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:114)
at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25)
at hudson.FilePath.act(FilePath.java:906)
at hudson.FilePath.act(FilePath.java:879)
at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
at hudson.model.Run.execute(Run.java:1618)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:247)

正如我所看到的,问题出现在构建后的操作中!也许,正如我从错误日志中看到的,JDepend的输入文件中没有任何数据。您必须查看是否为该文件提供了正确的路径,并且必须确保该文件包含一些内容。。。可能路径正确,但文件为空