Is it possible to generate a changelog in a json or xml format?
Scott Crouch (485●3●24●26)
| asked Oct 22 '13, 9:46 a.m.
retagged Dec 16 '13, 1:22 p.m. by David Lafreniere (4.8k●7)
We're trying to setup a build process that needs to be able to process the files and work items that were changed with a build. We know we can get the changelog generated with the ant GenerateChangeLogTask. However this gives us a file format that isn't easily consumable/parsable. Is there a way to generate a json output for this instead? Or does somebody have a java snippet that could get us the similar information?
Thank!
|
One answer
Scott,
Article 1031 describes how to use the SCM commandline to generate JSON output in various scripts. In addition to this article 195 mentions how to set up RTC builds with custom commands for build tasks. Combining the two should get you what you need. If this answers your question please mark it as accepted. - Arne |
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
The (4.0.3) scm compare/list changesets operations have a -j ( --json ) flag that is described "Enable JSON output"
Look for "Source control command line reference" in the RTC InfoCenter (Rational Team Concert / Reference )