How can I output the name of a custom pipeline?

inger_klekacz August 9, 2021

It would be really helpful for me if I had access to the custom pipeline name, either plain string or slugified, as a default BBP variable. I see that I have access to the UUID, but that's not super accessible. I've seen that the slugified version can be triggered via API, so I know the attribute is in there...any plans to expose it as a default variable?

The problem I'm trying to solve is how to use a DRY Bash notification script in the after-script section, one that takes the name of the pipeline as an argument. This script would replace, per pipeline, 7 lines of logic/output code with a single line of code.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events