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
2010-09-13 11:45:25
This is not "since last deploy".
liori
2010-09-13 11:55:19
We don't have enough info to determine when the job is a deploy.
slomojo
2010-09-13 11:58:42