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.
One answer
- 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.
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.
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 30 '18, 1:31 a.m.How have you configured your Jenkins job?