I am trying to use the slack notify pipeline to send custom messages on my pipeline build and i want to add the tagged versions of my pipeling in the messages can you please help me with how i can do that i am using slack notify version 0.3.3
I guess I understand what you need.
To share the data between steps you may use artifacts that you configure in the pipeline. You may create the file to save data (in your case - version number) and then share it with the following step (for example - in the message variable of the slack-notify pipe).
In bitbucket-pipelines.yml it may look something like this:
# ... previous steps ...
- semtag getcurrent > ./version.txt # write version to file
- pipe: atlassian/slack-notify:0.3.3
MESSAGE: $(cat ./version.txt)
Hope this helps. Please, let us know if you have any questions.
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their Jira Cloud instance. ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events