# How do I poll a child branch on Git in Jenkins without Webhook?

**URL:** <https://community.jenkins.io/t/how-do-i-poll-a-child-branch-on-git-in-jenkins-without-webhook/10650>\
**Category:** Community\
**Tags:** question, git, jenkinsfile, pipeline\
**Created:** [November 10, 2023, 9:39am UTC](https://community.jenkins.io/t/how-do-i-poll-a-child-branch-on-git-in-jenkins-without-webhook/10650 "2023-11-10T09:39:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianstorm](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/brianstorm/32/6056_2.png) [@brianstorm](https://community.jenkins.io/u/brianstorm)\
**Post date:** [November 10, 2023, 9:39am UTC](https://community.jenkins.io/t/how-do-i-poll-a-child-branch-on-git-in-jenkins-without-webhook/10650/1 "2023-11-10T09:39:36Z")

</div>

I tried to use “Poll SCM” feature. I couldn’t get it to work right on a child branch. It kept comparing with the main branch and rebuilding.  
I can’t use webhooks due to restrictions.

```auto
Checking out Revision ac535d3fd2aa54e9101680dea3e9bfa9089bce7f (refs/remotes/origin/develop)

```

```auto
[poll] Last Built Revision: Revision aa5b903e1f63f2fe029b82404e9b2d5988145d79 (origin/main)

```
