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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.