It's all about the answers!

Ask a question

change login timeout period for using scm in command line.


GNANAPRAKASH SELVAKUMAR (1123) | asked Jan 09 '13, 5:38 a.m.
In command line, After logging in using 'scm login' command,  login timeouts after a certain period. How to modify it? 

I am using a script which will execute a series of  scm commands, but in the middle of execution, It gets logged out and asks for password, which fails my script.

One answer



permanent link
Andrew Hoo (1.0k1) | answered Jan 09 '13, 8:40 a.m.
JAZZ DEVELOPER

There is no timeout for the credentials of the CLI. (And subsequently, there is no way to modify it).

Perhaps you can see if your script is always failing consistently in the same "spot".

  - Maybe it's always failing on the same command in your script (maybe sprinkle some sleeps in it to determine that it always fails at the same execution line and not the same time).

  - Or Maybe record your scripts time-to-failure to see if it's always the fails in the same amount of time and try to see if it's a timeout/failure of something else that does have a lifespan.

Your answer


Register or to post 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.