为什么hudson的命令行输出的内容如此不详细?
输出如下,junit单元测试有失败的日志信息根本没有显示
hudson的命令行输出:
Started by user anonymous
Updating svn://localhost/myproject
At revision 14
no change for svn://localhost/myproject since the previous build
[myproject] $ cmd.exe /C '"D:\Ant\bin\ant.bat -file build.xml && exit %%ERRORLEVEL%%"'
Buildfile: C:\Documents and Settings\user\.hudson\jobs\myjob\workspace\myproject\build.xml
BUILD SUCCESSFUL
Total time: 0 seconds
Finished: SUCCESS
直接ANT的日志输出:
compile:
[javac] Compiling 1 source file to D:\workspace\myproject\build
[javac] Compiling 1 source file to D:\workspace\myproject\build
run-test:
[junit] Running com.shang.demo.service.LoginServiceTest
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0 sec
[junit] Test com.shang.demo.service.LoginServiceTest FAILED
cit:
[echo] CIT done.
BUILD SUCCESSFUL
什么原因呢, 请各位指点迷津!