Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Condition changeset steps are not working in pipeline

Rajnish Kumar
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!
Oct 17, 2023

Hello Team,

I am trying to run a conditional pipeline based on change in particular directory in same repository.

I have below steps in my file and I want if any merge happens in backend related folder then related test script should run and if changes happens in Frontend related folder then also related script should run.

currently no pipeline is getting triggered when I merge some code in BE or FE folder. Thanks !

pipeline.png

2 answers

0 votes
Rajnish Kumar
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!
Oct 19, 2023

Thank You Mark for your reply and suggestions, I did the same but still pipeline is not getting triggered if I do change in "./backend/**" or "./frontend/**" sub folders.

 

my file is in "/backend/tests" when I do some changes and after commit / push, pipeline is not getting triggered, without changeset it's working as expected.

  bitpipe.png

pipeline.pngstruct.png

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 18, 2023

Hi @Rajnish Kumar,

Welcome to the community.

For your includePaths configuration, would it be possible for you to add two asterisks following the documentation below?

                includePaths:
                  - "./frontend/**"

Reference:

Let me know how it goes.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events