Associating Release to Buildresults or snapshots
Anders Truelsen (162●1●20●20)
| asked Apr 13 '11, 8:24 a.m.
retagged Dec 13 '13, 2:43 p.m. by David Lafreniere (4.8k●7)
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 |
One answer
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.
Comments
Anders Truelsen
commented Nov 12 '13, 9:17 a.m.
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
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
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.
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...