It's all about the answers!

Ask a question

capturing the uuid of changeset mutile jar files using command


Arun K Sriramaiah (3.2k23677) | asked Oct 27 '17, 12:00 p.m.
edited Oct 27 '17, 12:02 p.m.

https://jazz.net/forum/questions/245211/how-to-capture-rtc-change-set-id-automatically-via-scm-cli
 
Now that the requirement is slightly changed that there are multiple jar files
 
./scm.sh share -r https://rtc_url:9443/ccm "ledger" 1102 "/root/jarfile/ledger/package"    (here there are multiple jar files like ledger1.0.21.jar,ledger1.0.22.jar ,ledger1.0.23.jar ,ledger1.0.24.jar)
 
So just want to confirm the object value pair where the UUID gets strored in both the case will be in the same location?
['workspaces'][0]['components'][0]['outgoing-changes'][0]['uuid'])
 


One answer



permanent link
Arun K Sriramaiah (3.2k23677) | answered Oct 27 '17, 12:03 p.m.
edited Oct 27 '17, 12:04 p.m.

If the changes are from the same component (in this case I believe so) there will be only one changeset created & so the path mentioned

['workspaces'][0]['components'][0]['outgoing-changes'][0][' uuid ']' contains the uuid of the change set .

But if the changes are from different components then there will be one change set per component created.

Your answer


Register or 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.