Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Binary via Email notification

Hi All,

I am working on building my embedded project on pipleline via the yml file.

If the build is successful I want to send the binary that was built via an email attachment to someone on the team.

How do I accomplish that

Thank you.

1 answer

3 votes

Hi @Pimprikar, Siddharth ,

Thank you for your question!

It's a good case for the email-notify pipe:

pipelines:
default:
- step:
name: Build and Test
script:
- some_build_logic_that_generate__build_zip_artifact
artifacts:
- build.zip
- step:
name: Send email
script:
- pipe: atlassian/email-notify:0.4.3
variables:
USERNAME: 'myemail@example.com'
PASSWORD: $PASSWORD
FROM: 'myemail@example.com'
TO: 'example@example.com'
HOST: 'smtp.gmail.com'
ATTACHMENTS: 'build.zip'

 

Cheers,
Oleksandr Kyrdan

Hi @Oleksandr Kyrdan
I get this error while sending the email

Capture.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

74 views 2 3
Read article

Community Events

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

Events near you