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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,871
Community Members
 
Community Events
176
Community Groups

Bitbucket pipeline skipping step even though there is change

Edited

I have given the following condition, where a step should run only when there is a change in folder

  condition:
changestes:
includePaths:
- "webapp/**"

It has been working fine.

Couple of days back I had raised a PR, which ran the pipeline fine.
As there was a change in webapp folder, it ran the step.

But when I merged the PR to branch, even though there was a change in webapp folder,
it skipped the step in pipeline.

Previously it was working fine, on same day for a different pipeline, the step ran when merged to branch.

I am confused as to why the step is not running in this particular case.
Reran the pipeline multiple times but still the same issue.
Has anyone faced similar issues?

1 answer

0 votes
Ben Atlassian Team Apr 04, 2022

Hey Abhishek,

I have noticed that there is a typo in the output that you have provided ("changestes" should be "changesets") - I'm not sure if this is present in your pipelines yml or if this was simply a typo when raising this ticket but this will need to be corrected if it is the former.

Additionally, when referencing a glob pattern in "includePaths" please refer to the following documentation, the syntax specifies single quotes to be used rather than double quotes:
https://support.atlassian.com/bitbucket-cloud/docs/use-glob-patterns-on-the-pipelines-yaml-file/

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

Hi Ben,

Documentation here has double quotes in the example glob pattern - probably needs updating?

https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#condition

Ben Atlassian Team May 18, 2022

Hey @Drew Heasman - thank you for raising this to our attention, I have reported this accordingly.

Like Drew Heasman likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events