• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Build & Test
  • asingh
  • Reporter: teck
  • March 23, 2009
  • 0
  • Watchers: 1
  • July 27, 2012
  • May 17, 2009

Description

I think it would be very handy to have build information embedded and logged in TIMs that we produce. I’m talking about the kind of information that is present in build-data.txt for core kit (revision, branch, user, date ,etc).

This is especially helpful with snapshot builds so you can tell one from another. It can also be helpful in verifying exactly what code is being used in the event that a TIM is misrepresenting itself.

Comments

Alex Miller 2009-03-25

Can you investigate whether this is possible in Maven? I assume during the assembly phase that builds the jar we would want to inject some properties into the manifest. Some properties would be easy to obtain but not sure about svn info. Tim did some stuff to grab that in Examinator prod builds if you want to look there.

Abhishek Singh 2009-04-09

Added changes in tim-parent trunk (rev-14922) and tc-maven-plugin trunk (rev-14923)

Will need changes in the release/snapshot publisher to supply the argument like “-Doutput-svn-info=true” to activate the profile.

Hung Huynh 2009-04-27

Abhishek, could you merge this to tc-3.0 of tim-parent and tc-maven-plugin? This is targeted to 3.0.x also

Abhishek Singh 2009-05-17

Fixed in rev-15763 and rev-15764.