post-commit hook jurisdiction

2011-09-19 Thread spacegoose
I don't yet have filesystem access to our SVN repository but am
looking into triggering Jenkins to build and deploy a project based on
SVN commits to the project, ideally only for a specific branch / trunk
to start.

I'm wondering if the post-commit hook applies to the entire SVN
repository, if there are (or can be) multiple post-commit files that
apply only to a particular project (or project branch / trunk), or if
this is all done programmatically via a single post-commit script,
e.g. determine which project committed, and based on this do
something?

Thanks,
Bill



Re: post-commit hook jurisdiction

2011-09-19 Thread Ryan Schmidt

On Sep 19, 2011, at 11:32, spacegoose wrote:

> I'm wondering if the post-commit hook applies to the entire SVN
> repository,

Yes.

> if there are (or can be) multiple post-commit files that
> apply only to a particular project (or project branch / trunk),

No.

> or if
> this is all done programmatically via a single post-commit script,
> e.g. determine which project committed, and based on this do
> something?

Yes.




RE: post-commit hook jurisdiction

2011-09-19 Thread Andreas Tscharner
> I don't yet have filesystem access to our SVN repository but am
> looking into triggering Jenkins to build and deploy a project based on
> SVN commits to the project, ideally only for a specific branch / trunk
> to start.

The SVN Jenkins plugin does polling (you can give it an interval) on a given 
SVN repository URL. If the revision in that repository changes, the Jenkins 
tasks will start by updating or checking out the given URL (it's configurable).
No need for a hook...

Best regards
Andreas
Freundliche Grüsse
Wenzel Metromec AG
Andreas Tscharner
--
Andreas Tscharner, Development
Wenzel Metromec AG, Rheinfelsstrasse 1, CH-7007 Chur, Switzerland
phone:  +41 (0)81 257 07 00
fax:+41 (0)81 257 07 01
e-mail: mailto:andreas.tschar...@metromec.ch
www:http://www.metromec.ch


Open House am 26. und 27.10.11

Am 26. und 27. Oktober 2011 findet das Wenzel Metromec Open House in Chur statt.
Tauchen Sie ein in interessante Fachreferate und Workshops.
Besichtigen Sie topaktuelle Exponate aus dem Hause WENZEL.
Erfahren Sie mehr über unsere Produkte und Dienstleistungen.
Lernen Sie die neuste Version von Metrosoft QUARTIS kennen.

Reservieren Sie sich das Datum.
Das detailierte Programm folgt in Kürze.