java - Base ClearCase failed. exit code=1. IOException: cleartool did not return the expected exit code -
after searching found run selenium test jenkins have run jenkins command java -jar jenkins.war instead of service
problem when running jenkins service works fine when running command job giving error:
fatal: base clearcase failed. exit code=1 fatal: java.io.ioexception: cleartool did not return 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 view "sprint8_view_dcllegacy": permission denied. fatal: base clearcase failed. exit code=1 java.io.ioexception: cleartool did not return expected exit code. command line="endview -server sprint8_view_dcllegacy", actual exit code=1
you need check account running jenkins service:
- the system account
- or user account.
if cleartool enview -server works in command line, not jenkins running service, need make sure service running right account.
this error wont come jenkins running service comes in command line
if opposite, create simple jenkins job close view want (using parameter).
calling job end view.
or, in command line, use psexec, should launch session using localsystem acount:
c:\>psexec -i -s powershell.exe psexec v1.97 - execute processes remotely copyright (c) 2001-2009 mark russinovich sysinternals - www.sysinternals.com this launch new window.
ps c:\windows\system32> whoami nt authority\system
Comments
Post a Comment