Started by user anonymous
Building in workspace /var/lib/jenkins/workspace/samsonOpt
[samsonOpt] $ /opt/cruisecontrol/apache-ant-1.7.0/bin/ant build
Buildfile: build.xml
setClassPath:
init:
build:
BUILD SUCCESSFUL
Total time: 0 seconds
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: testoutputng
Did not find any matching files.
Finished: SUCCESS
--------------------------
а в эклипсе при запуске Ant такой лог:
Buildfile: D:\users\workspace_eclipse\Zzzzzzz\build.xml
usage:
[echo] ant run will execute the test
[echo]
setClassPath:
setClassPath:
init:
all:
clean:
[delete] Deleting directory D:\users\workspace_eclipse\Zzzzzzz\build
setClassPath:
init:
clean:
compile:
[echo] making directory...
[mkdir] Created dir: D:\users\workspace_eclipse\Zzzzzzz\build
[echo] compiling...
[javac] D:\users\workspace_eclipse\Zzzzzzz\build.xml:67: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to D:\users\workspace_eclipse\Zzzzzzz\build
[javac] WARNING
[javac] The -source switch defaults to 1.7 in JDK 1.7.
[javac] If you specify -target 1.5 you now must also specify -source 1.5.
[javac] Ant will implicitly add -source 1.5 for you. Please change your build file.
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] 1 warning
setClassPath:
init:
build:
setClassPath:
init:
clean:
[delete] Deleting directory D:\users\workspace_eclipse\Zzzzzzz\build
compile:
[echo] making directory...
[mkdir] Created dir: D:\users\workspace_eclipse\Zzzzzzz\build
[echo] compiling...
[javac] D:\users\workspace_eclipse\Zzzzzzz\build.xml:67: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to D:\users\workspace_eclipse\Zzzzzzz\build
[javac] WARNING
[javac] The -source switch defaults to 1.7 in JDK 1.7.
[javac] If you specify -target 1.5 you now must also specify -source 1.5.
[javac] Ant will implicitly add -source 1.5 for you. Please change your build file.
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] 1 warning
run:
[testng] [TestNG] Running:
[testng] D:\users\workspace_eclipse\Zzzzzzz\testng.xml
[testng] Configurated Browser
[testng] Configurated Browser
[testng] ===============================================
[testng] Officemagt
[testng] Total tests run: 2, Failures: 0, Skips: 2
[testng] Configuration Failures: 2, Skips: 2
[testng] ===============================================
[testng] The tests failed.
makexsltreports:
[xslt] Processing D:\users\workspace_eclipse\Zzzzzzz\test-output\testng-results.xml to D:\users\workspace_eclipse\Zzzzzzz\XSLT_Reports\output\index.html
[xslt] Loading stylesheet D:\users\workspace_eclipse\Zzzzzzz\src\xslt\testng-results.xsl
BUILD SUCCESSFUL
Total time: 2 seconds