Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to output an error message so it displays in the pipeline details pane?

François Collins March 24, 2025

Our pipelines sometimes fail for expected reasons, but which are only obvious to DevOps people (like publish failure because of artifact version conflict which manifests itself with an apparently unrelated error).

Is there a way to set a user-friendly status message in the pipeline details page, like what happens when a step runs out of memory? This would avoid developers having to reach out to IT to interpret the failure from thousands of log lines every time even if we try to catch the error and output something less cryptic.

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 25, 2025

Hi François,

I assume that by 'details pane' you are referring to the following?

exceeded_memory_limit.png

The message displayed in there cannot be changed manually.

I see that dynamic pipelines provide an option to set this message:

However, I haven't been involved with dynamic pipelines development, so I'm not sure if this can be set programmatically depending on the errors of certain commands of your build.

You could reach out to the group 'Forge for Bitbucket Cloud' to ask if your use case can be solved with dynamic pipelines (the team checks the questions there):

Are you looking to do this programmatically or have someone manually set a message?

Kind regards,
Theodora

0 votes
Aron Gombas _Midori_
Community Champion
March 24, 2025

I think that the general rule is that the pipeline "Build" view (if this is what you mean) captures everything that is written the standard output (stdout).

If you can catch the error you are trying to make easier to understand, and write to the stdout, it should work.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events