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

Build definition to build a work item

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

0 votes



One answer

Permanent link
 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

0 votes

Comments

Can you please elaborate?

 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 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
× 6,121
× 1,202
× 562

Question asked: Apr 22 '13, 2:03 a.m.

Question was seen: 6,682 times

Last updated: Apr 24 '13, 10:35 a.m.

Confirmation Cancel Confirm