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

RTC : checkout failure: CRJAZ6053E The 'Save Stream' operation cannot be completed.

I am integrating RTC with Jenkins to extract my source files stored in RTC to the Jenkins work space. I have installed the Team Concert plugin (v1.2.0.5) in my Jenkins and configured the RTC toolkit and RTC Source control management parts for my Jenkins job and both passed test validation. I am using RTC stream for build configuration. 

However, when I run the job, I got the following error:
FATAL: RTC : checkout failure: CRJAZ6053E The 'Save Stream' operation cannot be completed. Permission is required to complete the operation.
Can anyone enlighten me how to solve this problem? Thanks. 

0 votes

Comments

How have you configured your Jenkins job?

In particular, what values have you specified for the various configuration parameters described in https://wiki.jenkins.io/display/JENKINS/Team+Concert+Plugin#TeamConcertPlugin-JobConfiguration



One answer

Permanent link
  • Use a repository workspace that flows to that stream for building
  • Make sure the user that is used to run the Jenkins build and access RTC is member owner of the repository workspace, member of the project owning the stream and has all the required permissions on SCM operations

0 votes

Comments

Thanks for your quick answer, Ralph. 

I am not quite clear about "Use a repository workspace that flows to that stream for building". Could you elaborate? 

I am using my intranet ID to configure the RTC toolkit in Jenkins. I can use my intranet ID to extract files and deliver changes to the RTC stream in the RTC client. Don't know if it means my ID have all the permissions that are needed as you mentioned above. 

For Jenkins, please see:


 
You can use a repository workspace or a stream to build. 

The build can accept incoming changes and then build on the repository workspace. This is the most typical approach I am aware of. 

Regardless of what you use, it is important that the user ID interacting with RTC has permissions to perform the required operations in the RTC project area(s). 

I have set this up last time some years ago, so I am not sure what creates the connection. Likely the Jenkins Build Engine and the build definition.

In any case, your error message basically hints that there is a permission problem in RTC (save Stream).
 

I changed to use repository workspace to extract source from RTC, it worked. However, each time I trigger the Jenkins job to extract source from RTC, an RTC source snapshot is created automatically. The snapshot name is <jenkins_job_name>_<build_number> by default. 


Do you know if I can make Jenkins/RTC NOT create a snapshot each time I trigger the Jenkins job? 

Since my account doesn't have the permission for the save stream operation (which is needed for creating a snapshot I guess), I cannot load from a stream. 

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
× 1,381
× 151

Question asked: Sep 28 '18, 5:08 a.m.

Question was seen: 3,443 times

Last updated: Oct 10 '18, 11:07 p.m.

Confirmation Cancel Confirm