It's all about the answers!

Ask a question

How to get list of components using SCM command

Tomas Kramaric (2125) | asked Nov 21 '16, 6:35 a.m.
edited Nov 21 '16, 6:35 a.m.
I try to get list of components with command:
scm --show-alias n --show-uuid n list components -r "$REPO" --projectarea "$PROJECT" -u "$USER" -P "$PASS"

however its giving me: 
No components found.

Should I also specify stream somehow ?

Thank you

3 answers

permanent link
Arun K Sriramaiah (3.2k13077) | answered Nov 21 '16, 6:59 a.m.
Hi Tomas,

Please find the link below as an example.


permanent link
Donald Nong (14.5k414) | answered Nov 21 '16, 6:48 p.m.
You command is correct in syntax, so it should work, as it works in my environment. I suggest you double check that correct values are substituted for variable $REPO and $PROJECT.

You can find the syntax of the command here.

permanent link
Tomas Kramaric (2125) | answered Nov 22 '16, 3:08 a.m.
edited Nov 22 '16, 3:09 a.m.
 At the end i found this command which works for me now:
lscm ls comp -r "$REPO" -u "$USER" -P "$PASS" $STREAM

Your answer

Register or to post your answer.