change snapshot owner?
We are using the rtc/bf integration. The build WS is owned by the account that is running the builds (bldfge). As a jazzadmin I can change the owner of the snapshots, created from the builds. The only other person who could change the owner is the bldfge account. How do we allow non-jazzadmin users the ability change the owner of snapshots created during the build?
2 answers
Hi Daniel,
Because the snapshot is tied to the workspace I don't think it's possible to allow such thing.
May I ask if the ownership change is part of your post-build deliver structure? If your goal is to promote the snapshot to the stream it's possible to invoke the post-build participant as the last of your BF steps. I understand that should the snapshot be promoted to the stream then it should be widely available.
${Build_Engine_Path}/jbe -userId ${Build_User} -pass ${Build_Password} -repository ${Repository_Address} -buildResultUUID ${buildResultUuid} -engineUUID ${engineUUID} -participants com.ibm.team.build.autoDeliver -noComplete
However, if you goal is just change the snapshot ownership you can achieve it by integrating your builds with SCM CLI. Follow up article should assist you to understand the idea of this integration.
Best regards,
Rafael.
Comments
1 vote
Normally the Post build deliver in the build definition can do the following
- Move the snapshot from build work space to "stream"
This will and can fail if any of the components / files are locked in the stream.