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

Associating Release to Buildresults or snapshots

Hi

Is is possible to associate a Release to Snapshot or Build result?
The is an artifact column in the Release table but I can't figure what it is used for...

regards
/anders

0 votes

Comments

Hello,

If you have a solution, Please let me know. Because , I also look for this issue. Thank you in advance

Jacky

I can't figure what it is used for...

The association doesn't really have much semantics currently.  It just lets you see / navigate to the build associated with a release. From there, you could create a workspace/stream from the build's snapshot, e.g. to set up to reproduce a defect found in the release.



One answer

Permanent link
From a build (build result editor in RTC Eclipse UI) you can create and associate a new Release.
There is an existing enhancement request to associate an existing release with a build, and otherwise manage the association better:

I wrote a JRuby script to do this recently, which I could share if there's interest.

1 vote

Comments

Hi Nick


I'd also like to be able to associate a snapshot with a build, can you do that with your JRuby magic as well?

/anders

Hi Anders, yes this would be possible with JRuby scripting, and using actual RTC Build/SCM client API rather than internals.  But I'm curious about the scenario.  Normally the snapshot gets associated as a side effect of running the SCM phase, either with JBE or with the teamAccept Ant task.  The various integrations work similarly.  How are you running the SCM phase such that this doesn't happen?  Using the SCM CLI?

I've put the JRuby script to associate a release with a build here:

Thank you nick

The ruby script to associate a release with build is working

Regards

Jacky

Good to hear.  Note to others: the build URL given needs to be of the resource/itemOid form (Copy URL on the build in the Eclipse UI) not the web UI URL.


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
× 562
× 19
× 3

Question asked: Apr 13 '11, 8:24 a.m.

Question was seen: 5,529 times

Last updated: Dec 13 '13, 2:43 p.m.

Confirmation Cancel Confirm