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

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


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 Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

631 views 16 18
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