Added webhook in Bitbucket repo and have 2 different jobs for dev and UAT. if I merge some changes to dev branch along with the dev job UAT job is also triggered in Jenkins.
And even if I did some changes in a feature branch and push it to the server the dev job in Jenkins is triggered.
I am using pipeline jobs in Jenkins,
Please anyone can help me with this?