RTC-SCM-CLI: how to detect whether a login is necessary before calling any CLI command ?
![]()
Karthikeyan Baskaran (45●8●13)
| asked Oct 10 '13, 8:08 a.m.
retagged Dec 13 '13, 11:31 a.m. by David Lafreniere (4.8k●7)
I'm building a wrapper tool (C# .net) around the RTC SCM CLI
This wrapper tool calls lscm.bat (from RTC-scmTools-Win-4.0.3 installation) These are the steps that are executed by the user of the wrapper tool:
Questions:
Thanks for your help in advance.
|
2 answers
![]()
Shashikant Padur (4.3k●2●7)
| answered Oct 29 '13, 5:34 a.m.
JAZZ DEVELOPER edited Oct 29 '13, 5:35 a.m.
If you have run the login command the username and encrypted password is stored in the {users home directory}/.jazzscm/repositories.txt file.
In case you server goes down or inaccessible or the license session has terminated or expired you will get the appropriate error. Once the server is operational/accessible/license available you do not have to rerun the login command. The command should work as the daemon already has the credentials. If the daemon was shutdown for some reason, the credentials will be picked up from the cached location.
Comments Thanks for the info.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.