# Jenkins GITSCM polling

**URL:** <https://community.jenkins.io/t/jenkins-gitscm-polling/5248>\
**Category:** Ask a question\
**Tags:** question\
**Created:** [January 8, 2023, 1:06pm UTC](https://community.jenkins.io/t/jenkins-gitscm-polling/5248 "2023-01-08T13:06:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VanshikaW](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@VanshikaW](https://community.jenkins.io/u/VanshikaW)\
**Post date:** [January 8, 2023, 1:06pm UTC](https://community.jenkins.io/t/jenkins-gitscm-polling/5248/1 "2023-01-08T13:06:24Z")

</div>

Hi Everyone.

I wanted to know that if I am using “GitHub hook trigger for GITScm polling” option in Build Triggers section of a Job; and I am building the job only when a new tag is pushed to the git repository, then does it require the previous workspace to trigger the build?

How does it know that new tag has been pushed? From what does it compare to see if new tag has been pushed?

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [January 16, 2023, 10:00am UTC](https://community.jenkins.io/t/jenkins-gitscm-polling/5248/2 "2023-01-16T10:00:39Z")

</div>

Hello @VanshikaW and welcome to this community 👋

I think this works with GitHub webhooks, but I could be wrong. 🤔
