首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件开发 >

hudson一个有关问题,为什么 ant 执行成功 Hudson去执行失败

2012-03-25 
hudson一个问题,为什么 ant 执行成功 Hudson去执行失败?为什么ant执行成功Hudson去执行失败?Startedbyuser

hudson一个问题,为什么 ant 执行成功 Hudson去执行失败?
为什么   ant   执行成功   Hudson去执行失败?


Started   by   user   anonymous
Updating   svn://localhost/source/ciDemo
At   revision   13
no   change   for   svn://localhost/source/ciDemo   since   the   previous   build
[ciDemo]   $   cmd.exe   /C   ' "C:\apache-ant-1.8.1\bin\ant.bat   -file   build.xml   ci   &&   exit   %%ERRORLEVEL%% " '
Buildfile:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build.xml

clean:
          [echo]   ====clean   project====
          [echo]  
      [delete]   Deleting   directory   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build
      [delete]   Deleting   directory   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist
      [delete]   Deleting   directory   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\test\report

prepare:
          [echo]   ====prepare   project====
          [echo]  
        [mkdir]   Created   dir:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build\classes
        [mkdir]   Created   dir:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build\test
        [mkdir]   Created   dir:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist
        [mkdir]   Created   dir:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\test\report

compile:
          [echo]   ====compile   all   source   code====
          [echo]  
        [javac]   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build.xml:109:   warning:   'includeantruntime '   was   not   set,   defaulting   to   build.sysclasspath=last;   set   to   false   for   repeatable   builds
        [javac]   Compiling   1   source   file   to   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build\classes
          [echo]   ==拷贝配置文件到构建目录==
          [echo]  
          [copy]   Copying   3   files   to   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build\classes

test-compile:
          [echo]   ==编译所有单元测试代码==
          [echo]  
        [javac]   Compiling   1   source   file   to   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build\test

test:
          [echo]   ==运行所有JUnit单元测试==
          [echo]  
        [junit]   Running   cn.j2eebestpractice.hudson.demo.HelloHudsonTest
        [junit]   Tests   run:   1,   Failures:   0,   Errors:   0,   Time   elapsed:   0.031   sec
[junitreport]   Processing   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\test\report\TESTS-TestSuites.xml   to   C:\WINDOWS\TEMP\null1407629607
[junitreport]   Loading   stylesheet   jar:file:/C:/apache-ant-1.8.1/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl


[junitreport]   Transform   time:   344ms
[junitreport]   Deleting:   C:\WINDOWS\TEMP\null1407629607

package:
          [echo]   ====dist   jar====
          [echo]  
            [jar]   Building   jar:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\ciDemo.jar

archivesrc:
          [echo]   ==dist   src   zip   files==
          [echo]  
            [zip]   Building   zip:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\ciDemo-src.zip

pmd:

javancss:
        [mkdir]   Created   dir:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\javancss
  [javancss]   Generating   report
          [xslt]   Processing   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\javancss\javancss_metrics.xml   to   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\javancss\javancss_metrics.html
          [xslt]   Loading   stylesheet   D:\c沉淀目录\e经验\CI\hudson_dep_tools\javancss\xslt\javancss2html.xsl

findbugs-xml:
  [findbugs]   Executing   findbugs   from   ant   task
  [findbugs]   Running   FindBugs...
  [findbugs]   The   following   classes   needed   for   analysis   were   missing:
  [findbugs]       junit.framework.TestCase
  [findbugs]   Missing   classes:   2
  [findbugs]   Calculating   exit   code...
  [findbugs]   Setting   'missing   class '   flag   (2)
  [findbugs]   Exit   code   set   to:   2
  [findbugs]   Java   Result:   2
  [findbugs]   Classes   needed   for   analysis   were   missing
  [findbugs]   Output   saved   to   dist/findbugs.xml

instrument:
        [mkdir]   Created   dir:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build\instr
        [mkdir]   Created   dir:   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\emma
        [instr]   processing   instrumentation   path   ...
        [instr]   instrumentation   path   processed   in   78   ms
        [instr]   [1   class(es)   instrumented,   0   resource(s)   copied]
        [instr]   metadata   merged   into   [D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\emma\metadata.emma]   {in   16   ms}
          [copy]   Copying   3   files   to   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\build\instr

test-compile-emma:
          [echo]   ==编译所有单元测试代码==
          [echo]  

test-emma:
          [echo]   ==运行所有JUnit单元测试==
          [echo]  
        [junit]   Running   cn.j2eebestpractice.hudson.demo.HelloHudsonTest
        [junit]   Tests   run:   1,   Failures:   0,   Errors:   0,   Time   elapsed:   0.078   sec


        [junit]   Output:
        [junit]   EMMA:   collecting   runtime   coverage   data   ...
        [junit]  
[junitreport]   Processing   D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\test\report\TESTS-TestSuites.xml   to   C:\WINDOWS\TEMP\null1878303053
[junitreport]   Loading   stylesheet   jar:file:/C:/apache-ant-1.8.1/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport]   Transform   time:   235ms
[junitreport]   Deleting:   C:\WINDOWS\TEMP\null1878303053

gen-emma-report:
      [report]   processing   input   files   ...
      [report]   1   file(s)   read   and   merged   in   0   ms
      [report]   writing   [xml]   report   to   [D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\coverage.xml]   ...
      [report]   writing   [html]   report   to   [D:\c沉淀目录\e经验\CI\hudson\jobs\ciDemo\workspace\ciDemo\dist\emma\core-coverage.html]   ...

ci:

BUILD   SUCCESSFUL
Total   time:   6   seconds
Finished:   FAILURE

[解决办法]
沙发 我也不知道

热点排行