Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,338
Community Members
 
Community Events
185
Community Groups

early slack-notify

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

.....

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 07, 2022

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events