I am trying to add the email pipe to send out a notification (via outlook) when a build passes or fails but I keep running into an issue.
image: atlassian/default-image:3
pipelines:
default:
- step:
runs-on:
- self.hosted
- windows
name: 'Build and Test'
script:
#Build Project
- cmd.exe /c runprog.cmd
- step:
name: Notification
script:
- echo "Sending Status"
- pipe: atlassian/email-notify:0.7.0
variables:
USERNAME: jane@outlook.com
PASSWORD: $pass
FROM: $user
TO: $user
HOST: 'smtp-mail.outlook.com'
PORT: '587'
Error Message:
<span>Unable to find image 'bitbucketpipelines/email-notify:0.7.0' locally</span>
<span>0.7.0: Pulling from bitbucketpipelines/email-notify</span>
<span>214ca5fb9032: Pulling fs layer</span>
<span>fa7d81b69b9a: Pulling fs layer</span>
<span>2fd9be6893d2: Pulling fs layer</span>
<span>7c8f45ffebd6: Pulling fs layer</span>
<span>bd5d81492901: Pulling fs layer</span>
<span>503c4e2633c0: Pulling fs layer</span>
<span>52aeffd8d780: Pulling fs layer</span>
<span>76cad53dd78c: Pulling fs layer</span>
<span>8584b165b8ce: Pulling fs layer</span>
<span>503c4e2633c0: Waiting</span>
<span>52aeffd8d780: Waiting</span>
<span>76cad53dd78c: Waiting</span>
<span>7c8f45ffebd6: Waiting</span>
<span>8584b165b8ce: Waiting</span>
<span>bd5d81492901: Waiting</span>
<span>fa7d81b69b9a: Download complete</span>
<span>2fd9be6893d2: Verifying Checksum</span>
<span>2fd9be6893d2: Download complete</span>
<span>7c8f45ffebd6: Download complete</span>
<span>214ca5fb9032: Verifying Checksum</span>
<span>214ca5fb9032: Download complete</span>
<span>503c4e2633c0: Verifying Checksum</span>
<span>503c4e2633c0: Download complete</span>
<span>76cad53dd78c: Verifying Checksum</span>
<span>76cad53dd78c: Download complete</span>
<span>52aeffd8d780: Verifying Checksum</span>
<span>52aeffd8d780: Download complete</span>
<span>8584b165b8ce: Verifying Checksum</span>
<span>8584b165b8ce: Download complete</span>
<span>214ca5fb9032: Pull complete</span>
<span>fa7d81b69b9a: Pull complete</span>
<span>bd5d81492901: Verifying Checksum</span>
<span>bd5d81492901: Download complete</span>
<span>2fd9be6893d2: Pull complete</span>
<span>7c8f45ffebd6: Pull complete</span>
<span>bd5d81492901: Pull complete</span>
<span>503c4e2633c0: Pull complete</span>
<span>52aeffd8d780: Pull complete</span>
<span>76cad53dd78c: Pull complete</span>
<span>8584b165b8ce: Pull complete</span>
<span>Digest: sha256:01b6a5aee203517ae808631d3f59e1725f9ad7c737a3604d184c307d6a3a9d91</span>
<span>Status: Downloaded newer image for bitbucketpipelines/email-notify:0.7.0</span>
Edit:
The debug helps! The error message I'm receiving is
<span>✖ Failed to send email to victoria@google.com Check your configuration settings: (535, b'5.7.139 Authentication unsuccessful, basic authentication is disabled. [BL1PR13CA0365.namprd13.prod.outlook.com]') Any idea?</span>