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

code promotion from one stream to another from cmd line

 Hi


I have  "Stream_1" and "Stream_2".
I need to promote (send the changeset ) after successful build from Stream_1 to sTREAM_2 using scm cmd

1

0 votes



One answer

Permanent link

Ravi,

first, use >scm add flowtarget to ensure Stream_2 is a flow target for Stream_1
Next, use >scm deliver --source Stream_1@repo --target Stream_2@repo
with whatever additional parameters you need and of course repo set to your repo alias.

Since the deliver might fail in case there are conflicts which cannot be resolved in a stream you might want to wrap these commands in a batch script.

If this is helpful please mark the answer as accepted.

- Arne

0 votes

Comments

Firstly thank you for the answer. 

Is there any way to promote selected component from Stream_1 to Stream_2?

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
× 1,381

Question asked: Aug 31 '17, 8:42 a.m.

Question was seen: 2,331 times

Last updated: Sep 07 '17, 6:30 a.m.

Confirmation Cancel Confirm