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

How to gracefully skip deployment without marking the deployment as successful?

BitBucket deployment correlates with JIRA card. So, when deploy using pipeline, the card status reflects the step failure/successful result. On the other hand, I need a way to skip deployment altogether, because some commits' requirement (e.g. incomplete commits).

 

By exiting with `exit -1`, this will stop the pipeline entirely. By exiting with `exit 0` it marked the deployment as successful. How to skip this deployment and take a middle road to still continue the pipeline AND marked the deployment step as skip?

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 30, 2023

Hi @Abdillah,

I'm afraid that this is not possible at the moment. A pipeline step needs to be completed successfully for the next steps to be executed.

We have a feature request for what you are asking:

You can see here the latest update by one of Bitbcuket's Product Managers regarding this feature:

You can add your vote to this feature request to express your interest and you can also add yourself as a watcher if you'd like to be notified via email on updates.

In the meantime, one thing you could do is create a separate custom pipeline for each deployment environment and execute the one(s) you want manually:

Please feel free to reach out if you have any questions.

Kind regards,
Theodora

Suggest an answer

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

Atlassian Community Events