Is there a Command line process to Deliver the files from local workspace to main stream
Hi All,
I am using the SCM command line operations for loading the updated file from my workspace to Main stream. it is failing while use SCM deliver command,
Could some one please help on this SCM command line operations
Thanks Prasad |
3 answers
You usually specify the source workspace (-s option) only if there are multiple workspaces loaded in the sandbox (in your case C:\Pavan\CAM_Content1) or if you are running the deliver command from outside of the sandbox directory (that is without specifying the -d option or are not running it from within your sandbox directory).
If there is only one workspace loaded in the sandbox you can just run... scm deliver -d C:\Pavan\CAM_Content1 or step into the sandbox directory and run... scm deliver
which will deliver all the change sets from your workspace CAM_Content to the stream "Scanner Stream".
|
For Checkin I am running following command
scm checkin -u <Userid> -P <Password> -d C:\Pavan\CAM_Content1 Dev\scripts\ItistTestfile.easl
and the result is:
Workspace: (1005) "CAM_Content" <-> (1081) "Scanner Stream"
Now i want to deliver the same file : I am using following command scm deliver -r <server> -d C:\Pavan\CAM_Content1 -s "CAM_Content" Dev\scripts\ItistTestfile.easl
Ambiguous selector "CAM_Content" matched multiple items:
I have only one workspace named "CAM_Content" Thanks. |
There are two workspaces on the server named "CAM_Content". You own one of them and the other is owned by someone else. Your command has to be explicit in which workspace to use.
You may use the alias or uuid to explicitly select your workspace. Keep in mind that the alias is temporary if you're trying to use this command in a script. |
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.
Comments
Is there an error message when it fails? What is the command you're using with its arguments?
This would help in determining what went wrong.