SVN Hudson trigger problem

3 messages Options
Embed this post
Permalink
fabrice.mercier1

SVN Hudson trigger problem

Reply Threaded More More options
Print post
Permalink
Hi

I tested the SVN trigger given on the wiki and it does not work correctly. When I realize a commit that concern files in differents projects on my SVN repo

/usr/bin/wget \
  --header "Content-Type:text/plain;charset=UTF-8" \
  --post-data "`svnlook changed --revision $REV $REPOS`" \
  --output-document "-" \
  http://myserver/hudson/subversion/${UUID}/notifyCommit?rev=$REV

I test in command line :

svnlook changed --revision 32371 /var/svn/main
U   contacts/common/Contacts/trunk/pom.xml
U   serviceFunding/rightsManagement/online/ServeurDeDroitModel/trunk/pom.xml

Contacts and ServeurDeDroitModel are 2 projects on SVN and I have 2 jobs on hudson. I modified the pom.xml content it is right.

BUT

Only the Contacts job is triggered for a new build.

An heavy limitation !!

Please let me know if I must create a new issue

--
Cordialement / Best regards

Fabrice Mercier
Michael Donohue

Re: SVN Hudson trigger problem

Reply Threaded More More options
Print post
Permalink
Hi Fabrice,
It would be better if you use the users list for reporting bugs and finding workarounds.

-Michael
(646) 833-8884


On Wed, Oct 28, 2009 at 7:12 AM, Fabrice Mercier <[hidden email]> wrote:
Hi

I tested the SVN trigger given on the wiki and it does not work correctly. When I realize a commit that concern files in differents projects on my SVN repo

/usr/bin/wget \
  --header "Content-Type:text/plain;charset=UTF-8" \
  --post-data "`svnlook changed --revision $REV $REPOS`" \
  --output-document "-" \
  http://myserver/hudson/subversion/${UUID}/notifyCommit?rev=$REV

I test in command line :

svnlook changed --revision 32371 /var/svn/main
U   contacts/common/Contacts/trunk/pom.xml
U   serviceFunding/rightsManagement/online/ServeurDeDroitModel/trunk/pom.xml

Contacts and ServeurDeDroitModel are 2 projects on SVN and I have 2 jobs on hudson. I modified the pom.xml content it is right.

BUT

Only the Contacts job is triggered for a new build.

An heavy limitation !!

Please let me know if I must create a new issue

--
Cordialement / Best regards

Fabrice Mercier

fabrice.mercier1

Re: SVN Hudson trigger problem

Reply Threaded More More options
Print post
Permalink
Ok I have written 2 issues on the user mailing list.


2009/10/28 Michael Donohue <[hidden email]>
Hi Fabrice,
It would be better if you use the users list for reporting bugs and finding workarounds.

-Michael
(646) 833-8884


On Wed, Oct 28, 2009 at 7:12 AM, Fabrice Mercier <[hidden email]> wrote:
Hi

I tested the SVN trigger given on the wiki and it does not work correctly. When I realize a commit that concern files in differents projects on my SVN repo

/usr/bin/wget \
  --header "Content-Type:text/plain;charset=UTF-8" \
  --post-data "`svnlook changed --revision $REV $REPOS`" \
  --output-document "-" \
  http://myserver/hudson/subversion/${UUID}/notifyCommit?rev=$REV

I test in command line :

svnlook changed --revision 32371 /var/svn/main
U   contacts/common/Contacts/trunk/pom.xml
U   serviceFunding/rightsManagement/online/ServeurDeDroitModel/trunk/pom.xml

Contacts and ServeurDeDroitModel are 2 projects on SVN and I have 2 jobs on hudson. I modified the pom.xml content it is right.

BUT

Only the Contacts job is triggered for a new build.

An heavy limitation !!

Please let me know if I must create a new issue

--
Cordialement / Best regards

Fabrice Mercier




--
Cordialement / Best regards

Fabrice Mercier