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 Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

454 views 0 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you