Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why is my pipeline not running?

Sebastian Montoya November 17, 2019

Heyo,

 

So just now I updated my pipeline and made the push/merge to the branch (dev). But the pipeline is not running. Could anyone help me out?

 

Heres the pipeline

image: node:10.15.3

pipelines:
branches:
dev:
- step: name: Build & Deploy PWA
caches: - node
deployment: dev
script:
- cd functions; npm i; cd ..; npm i
- npm run build:prod:pwa
- pipe: atlassian/firebase-deploy:0.3.4
variables:
FIREBASE_TOKEN: '$FIREBASE_TOKEN'

I'm fairly new to this, so any help is gladly appreciated!

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 20, 2019

Hi @Sebastian Montoya

This is odd. 
If I had to troubleshoot it I would:

  1. Check if the Pipelines feature is enabled.
    Repository settings >> Pipelines - Settings >> Enable
  2. Check if the webhooks are configured and are able to see the pushes for the branch specified.
    More details in section Checking Webhooks.
  3. Check if the bitbucket-pipelines.yml is valid using Bitbucket Pipelines - Validator.
  4. Check what messages you see in Pipelines section for the branch dev.

 

Checking Webhooks

Bitbucket will only trigger Pipelines if webhooks are properly set and they should be. They are configured by default but I heard that in some rare cases they were missing, so let's check them up.

Their location: Repository settings >> Workflow - Webhooks.

You should see two of them:

You should be able to enable the onpush one and watch the pushes/merges for the dev branch:

  1. Enable the History
    Screen_Shot_2019-11-20_at_12_34_05.png
  2. Commit the code to dev branch.
  3. Load the new requesScreenshot_20_11_19_12_37.pngts
  4. Check if the request is showing the correct branch in its body
    Screen_Shot_2019-11-20_at_12_47_03.png


The screenshots above are observed when things are working properly.


I hope one of the checks above can reveal some strangeness that will allow us to move forward in this investigation.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events