【发布时间】:2015-07-10 07:58:55
【问题描述】:
搜索后发现要从 Jenkins 运行 selenium 测试,我们必须通过命令 Java -jar jenkins.war 而不是作为 服务 运行 jenkins >
问题是,当将 Jenkins 作为服务运行时,它可以正常工作,但使用命令作业运行时会出现错误:
FATAL: Base ClearCase failed. exit code=1
FATAL: java.io.IOException: cleartool did not return the expected exit code.
Command line="endview -server sprint8_view_DCLLegacy", actual exit code=1
[workspace] $ "C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\bin\cleartool" endview -server sprint8_view_DCLLegacy
cleartool: Error: Cannot stop view server for view "sprint8_view_DCLLegacy": Permission denied.
FATAL: Base ClearCase failed. exit code=1
java.io.IOException: cleartool did not return the expected exit code.
Command line="endview -server sprint8_view_DCLLegacy", actual exit code=1
【问题讨论】:
标签: java selenium jenkins continuous-integration clearcase