Jenkins Build loop upon git push

I have setup a Jenkins pipeline job, for which I want only to kick off the job when changes are made to a particular directory. I added the following to Included Regions in the Polling ignores commits in certain path

spring-boot-app/*

and the rest of the parts are pasted in as excluded Regions.

Tried with Other Additional behaviors as well

  • Polling ignores commits from certain users
  • Polling ignores commits with certain messages

Repo URL :Github Repository

To avoid the cache issue tried the following as well.

  1. Restarted the Jenkins server
  2. Created new job

Please advise me, on where I am doing wrong or if I am missing anything. Thanks,