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

Is it possible to get the outgoing change sets/incoming change sets of a components that exist in two different servers?

I have stuck in a scenario, where two different streams are available in two different servers but the components are same in both the streams and we want to compare these components. We are trying to get the outgoing change sets/incoming change sets of it but we fail to get those changes.

Example:
Suppose we have two servers:  02-d and 02-t

02-d has a stream called “A” and 02-t has stream called “B

Stream “A” has components called compA also Stream “B” has components called compA

 How to get the outgoing change sets/incoming change sets for two different servers?

0 votes



3 answers

Permanent link

Right click on the component in the Team Artifacts view, Compare With -> Another Repository Workspace or Stream... which will bring up the selection dialog. At the bottom of the dialog select the Use another repository option and select the second repository. Search for your stream in the other repository and choose OK.

0 votes


Permanent link

Sorry I forgot to mention the background.

As part of one requirement, I am developing a Jenkins plugin which will compare the streams for same server and cross server as well.

In the same server if a components exist in two different streams we are able to compare and get the incoming and outgoing change set whereas when we compare the components that is in different sever we are not able to fetch the outgoing and incoming change sets

So I need hint here for implementation.

The above suggested answer is fit for eclipse IDE, by the way thank you for your quick response

0 votes

Comments
Are you using scm commands in your jenkins plugin? If so, then you can run the following command: scm compare stream streamA@repo1 stream streamB@repo2 -c compA
Note: you should be logged into both the repositories before running this command.


Permanent link

I am not using any commands on Jenkins. I am only taking the user input(like Server Url and stream/workspace name) from the Jenkins UI

0 votes

Comments

Sorry, I am not familiar with it.

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
× 7,498
× 1,328
× 1,221
× 382

Question asked: Sep 01 '20, 7:00 a.m.

Question was seen: 1,705 times

Last updated: Sep 03 '20, 12:18 a.m.

Confirmation Cancel Confirm