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?

Kathy Warner Jun 25, 2015

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
Marcin Gardias Atlassian Team Jul 03, 2015

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
Thiago Bomfim 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

 

Kathy Warner Jun 26, 2015

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?

Kathy Warner Jun 30, 2015

Is there anything else I should be checking for?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

921 views 12 15
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