You just may need to use a different hook.
Multibranch listens for the hooks.
If you used Git as the SCMSource then that hook is exactly the one to use
as it sends the events to the SCM API:
https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hudson/plugins/git/GitStatus.java#L159-L
Stephen,
Thanks for the reply.
Yes, it is a multibranch project.
I was trying to use Git hook (eg. post-commit) to notify Jenkins to do a
build and this hook requires the "Poll SCM".
curl http://localhost:8080/git/notifyCommit?url=...
I assume this approach will not work. Will use the freest
If this is a multibranch project (smells like it) you do not configure
polling for each branch. The single indexing of the parent multibranch
provides the same as polling *while* simultaneously reducing the load on
the SCM Server (one scan vs N polling)
On Thu 28 Sep 2017 at 06:31, Eric Tan wrote
Hi,
Using Jenkins 2.79.
Logged in as admin and navigate to Jenkins > MyJob > master (branch).
Trying to enable the "Poll SCM" checkbox but there is only view only mode
under View Configuration.
How do I go about to enable edit mode to select "Poll SCM" checkbox?
I understand that the older
Hi,
Logged in as admin and navigate to Jenkins > MyJob > master (branch).
Trying to enable the "Poll SCM" checkbox but there is only view only mode
under View Configuration.
How do I go about to enable edit mode to select "Poll SCM" checkbox?
Thanks,
Eric
--
You received this message