The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Binary via Email notification

Pimprikar_ Siddharth
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2021

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

Pimprikar_ Siddharth
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 1, 2021

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

Capture.PNG

TAGS
AUG Leaders

Atlassian Community Events