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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,828 views 0 6
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