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

Pipelines not executing updated yml file

When I make changes to my bitbucket-pipelines.yml file the Pipelines doesn't see the changes.

I'm working on master. I've tried editing the yml file directly in Bitbucket. Pipelines sees a new commit and begins executing but the operations that are executed are from an old yml file.

When I click the gear icon here:

capture.png

I see the new/updated yml file. But the Build panel to the right of that shows commands from an old yml file are being updated.

I've made a number of commits to the yml file now. None of them have been picked up by Pipelines.

Has anyone encountered this issue? Any suggestions of what to try to resolve it?

1 answer

0 votes

@Malcolm van Raalte , I haven't heard about this kink of issues before. Could you shared your bitbucket-pipelines.yml so I can try to understand what could be wrong? If that's not possible, you could share just a basic structure of your bitbucket-pipelines.yml file.

Hi @Alexander Zhukov.

Just FYI I currently have Atlassian support investigating.

A bit more detail about the issue:

  • A few days ago I pushed a commit to master with a change to the bitbucket-pipelines.yml file. I changed line 26 from `npm start &` to `npm run start:for-tests &`.
  • Since then we have made many commits to master.
  • Pipelines detects the commits and triggers builds. But it runs `npm start &` instead of the updated line.

I don't think the issue is with the structure of the yml file. We just can't get the latest version of the yml file to be used in Pipeline builds.

Suggest an answer

Log in or Sign up to answer
TAGS
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,031 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