Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jenkins poll SCM not working on bitbucket

Juan Yáñez García-Catalán
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2015

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?

 

Thanks

4 answers

3 votes
michaelwiles
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2015

Same problem with me cheeky

0 votes
Josué Garcia
Contributor
March 31, 2021

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.

0 votes
adenot
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2015

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.

 

 

0 votes
adenot
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2015

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
TAGS
AUG Leaders

Atlassian Community Events