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

Changesets related to one baseline API

 I am not able to find a clean solution for getting the Changesets related to one specific Baseline in a Stream. 

example of eclipse

0 votes



One answer

Permanent link
There is, as far as I know no absolute relationship between a baseline and any change sets. The only question you can ask is which change sets are in a component with respect to a baseline and another baseline. The latter one could be the initial baseline of the component, which gives you all the change sets that contribute to the current baseline.

0 votes

Comments

  But how does the eclipse plugin show it in the pending changes view. It is always the baseline and then the changesets which are part of it. I am not allowed to upload any example pic.


Could I have these code?

In the pending changes view, you see the relationship between the current state of the component in the repository workspace compared to the stream. You also see the latest baseline in the component based on the current state.

Basically you have always two states you compare. I have some code examples in https://rsjazz.wordpress.com/2013/09/30/delivering-change-sets-and-baselines-to-a-stream-using-the-plain-java-client-libraries/

Please consider asking what you want to achieve and why, instead of what you can not do, so people can answer that.

 Ok,


We have a Jenkins-Plugin in which we deliver Changesets, Baselines and Set of Baselines to some other stream. During the delivery we check for the differences between these 2 Streams and then we deliver first the baselines(this works) and then the remaining changesets(also working) which are not part of any baseline. 

During the delivery we are creating a log in which we want to show all the changesets related to a Baseline. And this is not working! Iam getting either only all outgoing baselines or all outgoing changesets. But I would like to distinguish between changesets which are part of baseline-delivery and which are not.

Is this clear? 

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
× 233
× 84

Question asked: Jul 29 '16, 4:51 a.m.

Question was seen: 2,614 times

Last updated: Aug 04 '16, 5:53 a.m.

Confirmation Cancel Confirm