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,466,928
Community Members
 
Community Events
176
Community Groups

Does Bitbucket have anything similar to TC Service Messages or GH Pipeline Commands

Edited

Hi,

I'm looking at consolidating a bunch of fragmented CI processes from other SCM / CI platforms into Bitbucket cloud Pipelines.

Does Bitbucket have anything similar to TeamCity Service Messages or GitHub Workflow Commands that parses build logs for specially formatted stdout / log output that can be used to control build behaviour? I've not been able to find any documentation, but maybe I'm missing something.

A simple example would be calculating and updating the current build number with a TeamCity Service Message, or setting the build to "failed", but I'm interested in whether there's any documentation for a general feature rather than trying to solve these specific examples...

Thanks,

Mike

1 answer

0 votes

Hi Mike,

I'm afraid that we don't have something similar in Bitbucket Pipelines.

For the specific examples you mentioned:

- a pipelines build's number cannot be modified

- a pipelines build will fail if a command exits with a non-zero code, so you can force a build to fail with an if statement that returns a non-zero exit code if a condition is not met

You would need to do the parsing yourself though.

If there are some other specific examples/actions that you're interested in, please feel free to let us know, as there might be another way to achieve them.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events