I am working with about 30 or so projects in Hudson. Right now they all build automatically on a commit. Is there any way to switch all of the projects between trunk and a branch while maintaining the ability to build on a commit?
I have though of making the builds parametrized to specify the branch but this breaks the automatic builds.
Well, you have a couple of options:
1) You could use parametrized builds: you can still have automatic builds, but one of the options will be default (either trunk or branch will be default)
2) Have separate builds for each project, for trunk and branch
3) (this is how I have it set up at our place) Have two build servers: one for trunk projects, and one specifically for branches.