You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
Is there anyway to receive a slack notification on starting the pipeline before anything else ie "Build Setup"?
This is part of my current config
pipelines:
default:
- step:
deployment: test
script:
- pipe: atlassian/slack-notify:2.0.0
variables:
WEBHOOK_URL: $SLACK_WEBHOOK_URL
MESSAGE: 'A deployment is being done .. That may take 18 minutes, Please do not commit any changes during this period'
- apt-get update
- apt-get install -y zip
- zip -r application.zip .
- pipe: atlassian/aws-code-deploy:0.2.5
.....
Hello @amrsalah944 ,
Welcome to Atlassian Community!
Since the atlassian/slack-notify pipe you use to send a notification to slack runs inside a docker container, I'm afraid it's not possible to run it before the Build Setup.
Currently you can only configure slack notification for pipeline:succeeded, pipeline:failed and pipeline:fixed under Repository Settings > Settigs (under Slack). I went ahead and created the following feature request to add the event "pipeline:start" in the bitbucket slack integration :
I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.
Thank you, @amrsalah944 .
Kind regards,
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.