Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Independent push and poll configuration
Independent push and poll configuration [message #1121104] Mon, 30 September 2013 09:19 Go to next message
Ireneusz Grala is currently offline Ireneusz GralaFriend
Messages: 10
Registered: March 2013
Junior Member
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 11:08]

Report message to a moderator

Re: Independent push and poll configuration [message #1130926 is a reply to message #1121104] Thu, 10 October 2013 03:06 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
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



Winston Prakash
Eclipse Hudson team
Re: Independent push and poll configuration [message #1149522 is a reply to message #1130926] Tue, 22 October 2013 06:20 Go to previous messageGo to next message
Ireneusz Grala is currently offline Ireneusz GralaFriend
Messages: 10
Registered: March 2013
Junior Member
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 12:11 Go to previous messageGo to next message
k z is currently offline k zFriend
Messages: 71
Registered: October 2012
Member
+1 vote for this feature
Re: Independent push and poll configuration [message #1159053 is a reply to message #1149936] Mon, 28 October 2013 09:06 Go to previous messageGo to next message
Lukasz Jader is currently offline Lukasz JaderFriend
Messages: 37
Registered: October 2013
Member
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 07:45 Go to previous message
k z is currently offline k zFriend
Messages: 71
Registered: October 2012
Member
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: Tue Mar 19 07:15:09 GMT 2024

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

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

Back to the top