Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



3 answers

Permanent link
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.

1 vote


Permanent link
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

0 votes


Permanent link
 At the end i found this command which works for me now:
lscm ls comp -r "$REPO" -u "$USER" -P "$PASS" $STREAM

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,036

Question asked: Nov 21 '16, 6:35 a.m.

Question was seen: 3,323 times

Last updated: Nov 22 '16, 3:09 a.m.

Confirmation Cancel Confirm