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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.