OK, so I took a look at the core and realized, that there were no extension points in the polling phase, at all.
I created the issue http://jenkins-ci.org/issue/14178 and the pull request https://github.com/jenkinsci/jenkins/pull/505. This is an extension point, that adds two listeners, one before the poll and one after. Could someone please take a look at it?! Thanks Christian On Tue, Jun 19, 2012 at 8:57 AM, Christian Wolfgang <c...@praqma.net> wrote: > Sure. > > I'm trying to get a per poll debug log. I have to add a handler before > the poll and close it again afterwards. > The thing I'm trying do, does not have anything to do with the actual poll. > I guess I need something like RunListener#onStarted and > RunListener#onCompleted, just for polling?! > > Christian > > On Mon, Jun 18, 2012 at 9:43 PM, Grégory Boissinot > <gregory.boissi...@gmail.com> wrote: >> Polling is aimed at checking if the job has to be triggered. >> I think there is a misunderstanding. >> Could you explain your need? >> >> >> On Fri, Jun 15, 2012 at 10:32 PM, Christian Wolfgang <c...@praqma.net> wrote: >>> >>> Yes, that's before checkout, but after polling. Checkout is part of >>> the build, the polling is not. >>> I need something before the polling. >>> >>> Christian >>> >>> On Fri, Jun 15, 2012 at 7:58 PM, domi <d...@fortysix.ch> wrote: >>> > simple search… >>> > https://wiki.jenkins-ci.org/display/JENKINS/pre-scm-buildstep >>> > /Domi >>> > >>> > On 15.06.2012, at 15:01, Christian Wolfgang wrote: >>> > >>> >> Hi all. >>> >> >>> >> Are there any listeners/extensions before an SCM poll? >>> >> Can I execute something before a poll? That is, before the job is >>> >> actually a job and queued. >>> >> >>> >> Thanks >>> >> >>> >> Christian Wolfgang >>> > >> >>