Is there a way to pull the change log automatically?
![]()
I would like to download via API or any other method the change log of a build.
Is this possible?
|
One answer
![]()
Jeff,
RTC has 2 ways (assuming you are tracking your builds in RTC at the JBE/snapshot level): 1. There is an Ant task for generating a changelog documented at: http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.0/com.ibm.team.build.doc/topics/r_generatechangelog.html?lang=en 2. The RTC command-line 'diff' option: http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.0/com.ibm.team.scm.doc/topics/compare.html?lang=en I'm assuing by 'automatically' you want a non-interactive (headless) way or generating this changelog for traceability purposes. I believe the SCM command-line and Ant task source code is in the RTC SDK (could be wrong, I've read this in other forum posts) so you can peek that for a native Java way of working with it. Comments Winston,
Thanks so much for the reply.
This could be exactly what I want.
I am having an issue though.
I call the script like this:
C:\open\jazz_ant>ant -v -f test.xml -lib c:\open\jazz_ant\buildtoolkit
And I get:
C:\open\jazz_ant\test.xml:14: Problem: failed to create task or type generateChangeLog
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:49
Total time: 0 seconds
Jeff,
|
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.