Forums

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

How to export an artifact from a custom Pipe

Brett Mathe June 26, 2019

I created a custom pipe that logs a ticket number to the console that I want to use in subsequent steps in my pipe.

Specifically, this text needs to be used by the Slack Pipe as part of the message.

I have two questions:
1) How should I export this text in my custom Pipe so that it can be used by other steps?

2) In my slack-notify step how can I get that artifact/text in the MESSAGE variable?

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2019

Hi @Brett Mathe @Oleg Sigida ,

you can use the  Bitbucket Pipelines Artifacts. 
Save your logs to the artifact file and in the next step read text from that file.

Cheers,
Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events