Load other users workspace
Is there a way for a specific account to load other users’ workspace (for build purpose only)?
Since workspace is in server, is there an admin access to load other user workspace, no change to workspace. Then run a build. I am thinking of using scm login, then load workspace, run a build, exit.
Accepted answer
Any user that can see the workspace can load it. So as long as the workspace is publically visible or scoped visible, a build user can load it. The build user also needs an SCM license so needs to be assigned the built license. To have any access the build user usally also needs to be member of the project area with some role.
These workspaces are read only except to the owner, so build can not create snapshots etc.
Users with JazzAdmin repository role can see all workspacws and assign themselves ownership etc.
Technically you could make the build user(s) JazzAdmin, but there is no need to (see above) and I think it is also a safety issue.
These workspaces are read only except to the owner, so build can not create snapshots etc.
Users with JazzAdmin repository role can see all workspacws and assign themselves ownership etc.
Technically you could make the build user(s) JazzAdmin, but there is no need to (see above) and I think it is also a safety issue.
Comments
After changing to public or scoped, I can load other's workspace. I am using "scm load". Since workspace name may not be unique, if there are 2 or more workspace name with same name, how will RTC handle load?
Either make the workspace name unique or pass the ID that is available as alternative to identify it.
How do I get the workspace name ID?
The Jazz SCM Command Line provides you this kind of information: https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Fc_scm_cli.html