Skip to main content



      Home
Home » Archived » Hudson » Independent push and poll configuration
Independent push and poll configuration [message #1121104] Mon, 30 September 2013 05:19 Go to next message
Eclipse UserFriend
Hello,

https://bugs.eclipse.org/bugs/show_bug.cgi?id=418304

Provided link point to a problem with push and poll configuration. Using push mechanism disables poll for used repository. If One has builds divided to incremental and complete, push will trigger both. It would be nice if push and poll mechanism could be configured independently.What I like to achieve is to use push in incremental build and poll in complete build (both pointing to the same repository). So that complete builds are triggered when needed. Now Build periodically can be used but it will trigger build event if no changes where made.


Best regards

Ireneusz Grala

[Updated on: Wed, 02 October 2013 07:08] by Moderator

Re: Independent push and poll configuration [message #1130926 is a reply to message #1121104] Wed, 09 October 2013 23:06 Go to previous messageGo to next message
Eclipse UserFriend
I'm guessing you are talking about SVN Post commit hook. If you have set up SCM polling (you need to have that else push doesn't work) it will be always honored. The issue with pushing is, it does not know the job. So it depends on repository UUID. So it finds all the jobs which uses repository with that UUID and schedules it. Unfortunately this will end up scheduling both your jobs.

To fix this we have to introduce the notion of "push only SCM trigger" in core

Re: Independent push and poll configuration [message #1149522 is a reply to message #1130926] Tue, 22 October 2013 02:20 Go to previous messageGo to next message
Eclipse UserFriend
Hello,
Yes, I was talking about SVN post commit hook.
Re: Independent push and poll configuration [message #1149936 is a reply to message #1149522] Tue, 22 October 2013 08:11 Go to previous messageGo to next message
Eclipse UserFriend
+1 vote for this feature
Re: Independent push and poll configuration [message #1159053 is a reply to message #1149936] Mon, 28 October 2013 05:06 Go to previous messageGo to next message
Eclipse UserFriend
Jenkins Subversion Slugin has implemented this in specific way:
Jobs on Jenkins need to be configured with the SCM polling option to benefit from this behavior (SVN post commit hook). This is so that you can have some jobs that are never triggered by the post-commit hook (in the $REPOSITORY/hooks directory), such as release related tasks, by omitting the SCM polling option.
The configured polling (on 'incremental' job) can have any schedule (probably infrequent like monthly or yearly). The net effect is as if polling happens out of their usual cycle

See Jenkins Subversion Plugin JIRA page
Re: Independent push and poll configuration [message #1160551 is a reply to message #1159053] Tue, 29 October 2013 03:45 Go to previous message
Eclipse UserFriend
It is the same here but we are talking about separating pushes from polls in a way that some jobs would be triggered after push while others would not even though all of them got the same SCM repo configured
Previous Topic:Duplicate checkout using SVN and multiconfiguration project
Next Topic:Active Directory for 3.1
Goto Forum:
  


Current Time: Wed Jul 23 08:05:14 EDT 2025

Powered by FUDForum. Page generated in 0.03367 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top