It's all about the answers!

Ask a question

Problem running 'login' Could not secure .jazz-scm.

pravin Dakshin (133) | asked Oct 18 '17, 6:35 p.m.
edited Oct 18 '17, 6:36 p.m.


While trying to login to RTC using the triggering from Jenkins am getting the below error.

but am able to login successfully through putty with the same command.

./ login -r https://XXXX:XXXX/ccm/ -n local -u XXXXX -P XXXXX

Problem running 'login':
Could not secure .jazz-scm. Failed to set permissions on directory /home/jenkins/.jazz-scm

Accepted answer

permanent link
Donald Nong (14.4k314) | answered Oct 18 '17, 7:59 p.m.

The first thing you need to check is which Linux user invokes the scm command from Jenkins, and whether this user has write permission to the directory /home/jenkins/.jazz-scm. There is nothing wrong with the command itself.

pravin Dakshin selected this answer as the correct answer

Your answer

Register or to post your answer.