Forums

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

Pipelines not executing updated yml file

Malcolm van Raalte
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!
September 30, 2019

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
Alexander Zhukov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 2, 2019

@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.

Malcolm van Raalte
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!
October 3, 2019

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
AUG Leaders

Atlassian Community Events