views:

39

answers:

1

I would like our Hudson deploy job to output a changelog of all Subversion changes since last deploy. Any ideas to how that is done?

A: 

Add a build step in your hudson job that runs a shell script:

svn log -r HEAD:PREV > ./changelog

To generate a change list of the changes since the last commit.

You can also do a log -r by date/date-range.

Can you determine your last deploy (I assume you may not deploy with every build.) Some more information about your process will help.

If you tag your deployments with a normalised pattern it would be fairly simple to create a counter that would allow you to get the right SVN revision.

slomojo
This is not "since last deploy".
liori
We don't have enough info to determine when the job is a deploy.
slomojo

related questions