lvsong741 发表于 2018-1-9 16:42:42

Jenkins+ant+selenium持续集成的一些问题

请问大神们。Jenkins + ant +selenium构建后会启动浏览器吗?

这是构建完的信息。不知道是不是成功了。为什么没有启动浏览器。急急急求大神帮忙





Copying 3 files to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build\conf    Copying 4 files to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build\res    Copying 2 files to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build\testdata    C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build.xml:66: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds    Compiling 29 source files to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build    C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\src\com\business\Pc_LoginBusiness_New.java:25: 警告: JavaSecurityAccess是内部专用 API, 可能会在未来发行版中删除    import sun.misc.JavaSecurityAccess;                    ^    1 个警告uiTestOnIE:    Running:      C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\testng.xml       INFO com.util.DatabaseService.connectDBDriver(52) | Database connection established    INFO com.cases.TestBase.beforeClass(83) | Start to run test class com.cases.Pc_Test_New on driverType1       ===============================================    Suite    Total tests run: 1, Failures: 0, Skips: 1    Configuration Failures: 1, Skips: 2    ===============================================       The tests failed.transform:    Processing C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report\testng-results.xml to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report\index2.html    Loading stylesheet C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\res\testng-results.xsldetect.file:uiTestOnIE2:    Running:      C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report\testng-failed.xml       INFO com.util.DatabaseService.connectDBDriver(52) | Database connection established    INFO com.cases.TestBase.beforeClass(83) | Start to run test class com.cases.Pc_Test_New on driverType1       ===============================================    Failed suite     Total tests run: 1, Failures: 0, Skips: 1    Configuration Failures: 1, Skips: 2    ===============================================       The tests failed.transform2:    Processing C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report2\testng-results.xml to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report2\index2.html    Loading stylesheet C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\res\testng-results.xslBUILD SUCCESSFULTotal time: 7 secondsExtended Email Publisher is currently disabled in project settingsFinished: SUCCESS

lvsong741 发表于 2018-1-9 16:47:22

有大神在线吗

梦想家 发表于 2018-5-14 17:28:55

:victory:

二十一笔画2 发表于 2018-5-21 22:49:51

不会

码农Damon 发表于 2018-5-24 10:24:32

build.xml文件没配置好吧
页: [1]
查看完整版本: Jenkins+ant+selenium持续集成的一些问题