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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.