1
搜索發現,從運行詹金斯硒測試中,我們必須通過命令來運行詹金斯Java -jar jenkins.war
而不是作爲一個服務Base ClearCase失敗。退出代碼= 1。 IOException異常:cleartool沒有返回預期的退出代碼
問題是,後在運行時,詹金斯因爲它工作正常服務,但與命令作業運行時,它給錯誤:
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
服務使用本地系統帳戶登錄選項卡檢查。 –
@akshayjain準確地說,請嘗試使用用戶帳戶而不是本地系統帳戶。 – VonC
這個錯誤不會來自詹金斯作爲服務運行,但在命令行 –