Why do plans with Git Stash trigger get stuck on "checking out source code" status?

We have quite a number of plans in our Bamboo installation, all of which are set up to be triggered via Stash. For some reason, however, all of our plans at any given time (not at once) will change its status to "checking out source code" without any code changes being made to Stash.

Why is this?

2 answers

1 accepted

2 votes

Hi,

The answer is: Stash trigger is not only passively waiting for events from Stash, but it also has a polling job that runs periodically and checks for changes if needed. There are 2 cases when it's needed:

  • Bamboo - Stash communication is down. If Bamboo detects that no events are coming from Stash it will automatically fall back on git polling. 
  • Your plan contains repositories that are not served by Stash. Bamboo will do polling for them.

 

Hi Kathy,

Maybe you've multiple triggers configured on your build plans? I would focus on specially Polling.

Please refer to:

Best,
Thiago

 

I've checked this setting on all of our build plans and can confirm that each one is using "Stash repository triggered", which is why I'm scratching my head. The way I understand this trigger is that Bamboo should have no knowledge of when it's supposed to fire off a build plan. Instead, the onus is put on Stash to fire off an event telling Bamboo when it's time to build. Is that correct?

Is there anything else I should be checking for?

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
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,070 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot