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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Can't commit bitbucket-pipelines.yml, error message unhelpful Edited

It says "Your configuration looks good!" with the green checkmark and everything... but when I click "commit file" I get a little popup that says "Something went wrong" with a description that also says "Something went wrong." The console has a few warnings & errors:

(plain log): [Simple-XDM] Failed to validate origin:

HEAD<user>/<repo>/src/master/bitbucket-pipelines.yml 404

(error): POST<user>/<repo>/src/ 500


Here's my script:


image: node:10.15.3





      - step:

          name: Build


            - node


            - build/**


            - npm install

            - npm run-script build

      - step:

          name: Deploy

          deployment: staging


            - firebase deploy --token=$FIREBASE_CICD_TOKEN --project $FIREBASE_STAGING_PROJECT_ID --non-interactive



I'll admit this is the first time I've tried setting up a deployment pipeline from scratch, so the issue could be very obvious... but since I get the green checkmark validating my script, it seems like it should at least be able to upload it (and run into problems once it runs) :\


My goal is simply to have it so whenever we make a PR into our staging branch, it will automatically build and deploy the project to our Firebase hosting so beta testers can try the upcoming versions of our site. I also have some environment variables set so the React app will be built with the correct API key and what not (i.e. process.env.REACT_APP_FIREBASE_PROJECT_ID) which works fine when I build locally and then deploy. 

1 answer

Sorry, couldn't find anything on it before. Refined my Google search and found [this]( which seems to have solved my problem. 


Can't figure out how to delete this post now lol

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,237 views 0 3
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