The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events