My itch got to big so I had to scratch it. :-)

Andrew merged a pull request from me yesterday which adds a checkbox
to the advanced part of the git configuration which ignores the
repository from notifyCommit.

I think it will be part of version 1.17 of the plugin.

Regards,
Joakim


On Sat, Dec 31, 2011 at 11:55 AM, Joakim Olsson <[email protected]> wrote:
> Hi,
>
> I'm trying out the new notifyCommit-URL of the Git SCM plugin.
>
> For each of my projects I have one regular job which should build on
> each commit using a post-receive hook in the git repository and one
> nightly job for Sonar which uses the Poll SCM at a fixed time each
> night.
>
> Before notifyCommit I set the regular job to use polling but without
> specifying a schedule and then the post-receive hook used wget on the
> polling-URL (http://jenkins/job/job-name/polling). This worked ok but
> I had to do one wget for each project to trigger.
>
> With the notifyCommit-URL both jobs trigger each time.
>
> Is it possible to have nightly builds only if there are SCM-changes
> using the notifyCommit-URL?
>
> Regards,
> Joakim

Reply via email to