You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
If there is a change in Repository A (Which is outside the workspace)
There is a condition in Repository B that if there is no change in these paths below:
# Any changes in Cypress Directories
pipeline gets stopped automatically. (Working Perfectly Fine)
The main Question starts here:
We want to bring a functionality in the condition that if there is no-change in Repository A's specified paths. As the condition is in Repository B's pipeline, Repository B's pipeline gets stopped
So basically our condition will be checking for two kinds of conditions either Repository A and B both has changes in specified path or not. If one of the two conditions get true pipeline should complete its steps, if it gets false pipeline should stop.
Hi @Abdul Rehman,
I'm afraid that the following is not possible by using condition and changesets in the bitbucket-pipelines.yml file:
If one of the two conditions get true pipeline should complete its steps
If you include a condition in Repository A and that condition is false, then the step in repo A will not run at all, and therefore the pipeline in Repository B is not going to get triggered in order to check if the condition in repo B is true.
If you want to check whether one of the conditions is true in order to trigger the pipeline in repo B, you could do this with some scripting and without using the condition and changesets in your yml file: