It's all about the answers!

Ask a question

Build definition to build a work item


R jose (2148) | asked Apr 22 '13, 2:03 a.m.
edited Apr 23 '13, 9:11 a.m. by Spencer Murata (2.3k115870)
Is it possible in RTC JBE to build just an work item and get a deployment jar with only the change for the work item or a collection of work items? 

 I am trying to find  a way if the build tool can be configurared to build and provide a deployment jar just with the chaanges and then outputs a installed jar with only the changes accepted for the build (in the build workspace).
Then I can use admin console to update the installed war using the " Replace, add, or delete multiple files" option.

Thnaks

One answer



permanent link
Spencer Murata (2.3k115870) | answered Apr 23 '13, 9:10 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
 It is possible, but its more of an SCM question.  You would either need to query the Work Item via the API and get the change set UUIDs, and then accept just those UUIDs into your build workspace and run the build from that workspace.  Or diff the workspace against the baseline and find the UUIDs to accept by regexing out the workitems.

~Spencer

Comments
R jose commented Apr 23 '13, 11:46 p.m.

Can you please elaborate?


Spencer Murata commented Apr 24 '13, 10:35 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

 https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/r_scm_cli_scm.html


Look at the compare example.  You can use compare against the baseline and stream to get the changes from the baseline to the stream.  You can also get the work items for those changesets as well as the changeset UUIDs.  You would run the regex against this data to pull the UUIDs of the associated work items.  Then you can run an accept on that UUID into a baseline workspace.  Finally a build against that workspace would get you the artifacts you want.

~Spencer

Your answer


Register or to post your answer.