It's all about the answers!

Ask a question

teamAccept ANT task and changeSetFile attribute


Eric Simpson (1632) | asked Aug 11 '08, 1:02 p.m.
I have a standalone build and use the teamAccept and teamFetch ANT tasks. For the teamAccept task, I have the changeSetFile attribute specified.

What can I do with the changeSetFile?

Is there an easy way to see the change sets included?

Thanks,
Eric

5 answers



permanent link
Ryan Manwiller (1.3k1) | answered Aug 11 '08, 2:49 p.m.
JAZZ DEVELOPER
If you specify the buildResultUUID attribute, then you will automatically
get a "Changes" link in the build result contribution summary UI. This is
because specifying buildResultUUID enables a snapshot to be stored in the
build result.

You only need to specify the changeSetFile if you plan to use the
workItemPublisher task. The workItemPublisher task uses this file to locate
and link the work items that are included in the build. These work items
will show up as the "work items" link in the build result UI.

---
Ryan Manwiller
Jazz Team

permanent link
Eric Simpson (1632) | answered Aug 12 '08, 7:35 a.m.
This is a standalone build which is incorporated into my overall build (which uses other things besides Jazz). I just run the ANT tasks.

I would like the team accept task to also be able to provide a text file with the list of change sets.

On a related note, I would like the Change Explorer view to let you copy the selected contents to the clipboard. I plan to use the view to show the comparison between two snapshots since the teamAccept does not provide the text file of change sets.

permanent link
Don Weinand (7851) | answered Aug 12 '08, 11:07 a.m.
JAZZ DEVELOPER
Are you only using the SCM related Jazz ant tasks and none of the others to
publish your results to a build result?

If you include the buildResultUUID attribute in teamAcceptTask as Ryan
indicated then you automatically get the ability to compare builds and see
the differences in the snapshots between them.

Don Weinand
Jazz Team Build

"simpson3" <esimpson> wrote in message
news:g7rsmo$7ad$1@localhost.localdomain...
This is a standalone build which is incorporated into my overall build
(which uses other things besides Jazz). I just run the ANT tasks.

I would like the team accept task to also be able to provide a text
file with the list of change sets.

On a related note, I would like the Change Explorer view to let you
copy the selected contents to the clipboard. I plan to use the view
to show the comparison between two snapshots since the teamAccept
does not provide the text file of change sets.

permanent link
Ryan Manwiller (1.3k1) | answered Aug 12 '08, 11:50 a.m.
JAZZ DEVELOPER
Having the team accept task produce a text file with the change set
descriptions is a reasonable enhancement request. Please file one.

The Change Explorer view will enable you to copy the text, but there are
some usability issues. Here's what you have to do.

1. Make sure you have the "Show change sets" toggle button set in the view
toolbar.
2. Click the "Expand to change sets" button
3. At this point, you should have a tree with component nodes as the roots,
and change sets as the children.
4. Select the first change set in the tree
5. Shift select the last change set in the tree.
6. At this point, all components and change sets are selected
7. Control-click each component to unselect them.
8. At this point, only the change sets are selected
9. Now, right click a change set and the Copy Text action should be enabled

See
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/59811

permanent link
Eric Simpson (1632) | answered Aug 12 '08, 12:40 p.m.
I have opened Enhancement 59822 for the teamAccept ANT task to provide a text file of the change set descriptions.

Your answer


Register or 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.