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

Does the "polling repo" Build strategy actually perform a pull?

I'm wondering, if i've selected the "Polling repository for changes" Build strategy in a Plan, do I still need to update my repo (git pull) in a step in my Jobs or has the Plan already done that for me since it has polled for changes?

3 answers

1 accepted

Hello Chris,

Yes, you still need to update your repo (usually this is done by "Source Checkout Task") in a step in your Job. Polling is not enough.

However, you're right that "Polling repository for changes" is internally fetching remote git repo to the Bamboo server. But that internal repository is not automatically pushed down to the Job's working directory during build execution. Only by "Source Checkout Task" (or by manually crafted "Script Task" equivalent) the Job's working directory can be populated with the proper git repository and actual 'git checkout' can occur.

Hello ChrisR,

Is your build plan using "Source Checkout Task" to retrieve sources from your git repo?

Yes it is, and it's that what i'm wondering, does it need that step? Isn't polling for changes also pulling in the changes?

Suggest an answer

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

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

307 views 2 6
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