How to get list of components using SCM command
Hello
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
Hi Tomas,
Please find the link below as an example. https://www.ibm.com/support/knowledgecenter/en/SSYMRC_6.0.2/com.ibm.team.scm.doc/topics/list_components_ex.html Regards, Arun. |
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. https://www.ibm.com/support/knowledgecenter/en/SSYMRC_6.0.2/com.ibm.team.scm.doc/topics/list_components.html |
At the end i found this command which works for me now:
lscm ls comp -r "$REPO" -u "$USER" -P "$PASS" $STREAM |
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.