Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jenkins poll SCM not working on bitbucket

I´ve setup a poll SCM command on jenkins for several projects hosted on bitbucket to look for changes every 2 minutes, the problem is that even if I push multiple changes to my repo when jenkins does the polling it doesn´t find any changes and therefore it doesn't trigger a new build. I tried the same with projects hosted on github and it working fine. Is there any specific setup for bitbucket or something I should be aware of?



4 answers

Same problem with me cheeky

Same deal, working with the BB Cloud and SSH.  It can get the last Built Revision on the local workspace. But doesn't look like its grabbing the latest build revision from the remote repo. I try to manually checking out main on the local workspace. Poll still doesn't work. All it does is does an ls remote not sure what good that does me.

Ok I found a solution.

  1. Update jenkins git-plugin and git-client-plugin to the latest.
  2. Make sure your repository URL has .git at the end.



Same here too. Git Polling Log at jenkins returns "No changes" (and also no error).

I'm using HTTPS protocol.

Any ideas?



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,711 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you