Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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


Hi,

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

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

./scm.sh 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
<title></title>

0 votes


Accepted answer

Permanent link

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 18 '17, 6:35 p.m.

Question was seen: 3,095 times

Last updated: Oct 18 '17, 7:59 p.m.

Confirmation Cancel Confirm