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

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
Answer accepted

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.

 

1 vote
ThiagoBomfim Atlassian Team Jun 25, 2015

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 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...

683 views 2 7
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