Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket pipeline does not start automatically after push

Dominik Filkus
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 12, 2019

Hi,

I am trying to find an answer why is my pipeline does not start automatically when i push to the dev branch. My YML configuration looks like this:

image: node:11.8.0

definitions:
caches:
yarncache: /usr/local/share/.cache/yarn/v1

steps:
- step: &install
name: Install
caches:
- node
- yarncache
script:
- yarn

pipelines:
branches:
dev:
- step: *install

Based on the documentation this should trigger the *install step when I push to the dev branch but unfortunately it never happen and I have to do it manually.

Thanks for your help in advance!

2 answers

0 votes
Dominik Filkus
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 3, 2019

Hi @davina

Thank you for your answer!

The pipelines turned on under the settings menu

image.png

I guess the problem should be around the webhooks but i cannot really find anything about how to properly configure it. What should be under the webhook menu related to pipelines? Is this automatic or need to configure something manually? I can see this, maybe it is related:

image.png

It says it is active:

image.png

No idea where that URL come from and other settings.

I can add totally new webhooks as well. Do you have any idea what should be wrong here?

Or is there any documentation about how to properly configure a webhook for pipelines if it is not automatic?

 

Thank you in advance!

0 votes
davina
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2019

Hi @Dominik Filkus 

I tested this on my own repository and it works as expected, so I'm not sure why it's not working for you?

Some things to check are:

  • Is Pipelines enabled and do you have enough minutes to run a build?
  • Are push webhooks firing correctly? You can see these in your repository settings.

Let me know if there are any other details that might help diagnose this issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events