MBU
MBU

Reputation: 5098

Make Hudson check for new Release directory in the tag directory of the SVN and build the new release

Question

Is there a ways to make Hudson check for new Release directory in the tag directory of the SVN repository and build only the new release?

Upvotes: 3

Views: 341

Answers (2)

Peter Schuetze
Peter Schuetze

Reputation: 16305

Yes, but you have set it up the other way around. You need to set up a post commit trigger in SVN. So SVN tells Hudson when to build and what the tag is that needs to be build.

Upvotes: 2

gareth_bowles
gareth_bowles

Reputation: 21130

If I'm understanding your question correctly, you want to create an SVN tag and then have Hudson build off that tag. You can't do that with the standard Hudson as the SVN URL will change each time you create a new tag.

How about switching things around so that your developers check into a fixed SVN branch, then you have Hudson create a tag for each successful build ? That's easy enough to do by adding an "execute shell" build step to create the SVN tag after the main build steps.

Upvotes: 0

Related Questions