Here is my yml
i have my user name and pwd set as variables. all i ever get after the pipline run is 'check your configuration settings'
when i edit my yml file, it does not show any issues. i replaced the commas between the email addresses with semi colons and that did not help either
Preview:
- step:
services:
- docker
script:
- export DISPLAY=:99
- Xvfb :99 -screen 0 1024x768x24 & # Start virtual display
- >
katalonc
-retry=0
-testSuitePath="Test Suites/Preview"
-browserType="Chrome"
-executionProfile="Preview"
-apiKey="66ba57f8-a5b6-4b59-a764-dff6bda6b056"
-projectPath="/opt/atlassian/pipelines/agent/build"
--config
-proxy.auth.option=NO_PROXY
-proxy.system.option=NO_PROXY
-proxy.system.applyToDesiredCapabilities=true
-webui.autoUpdateDrivers=true
artifacts:
- report/**
after-script:
- STATUS="success"
- if [[ $BITBUCKET_EXIT_CODE -ne 0 ]]; then STATUS="FAILED" ; fi
- pipe: atlassian/email-notify:0.13.2
variables :
USERNAME: $EMAIL_USERNAME
PASSWORD: $EMAIL_PASSWORD
FROM: '<redacted>'
TO: '<redacted>'
HOST: 'smtp.gmail.com'
PORT: 587
SUBJECT: "Katalon Build #${BITBUCKET_BUILD_NUMBER} ${STATUS}: Bitbucket Pipeline Notification"
Hi David,
You will need to use a Google app password with this pipe instead your Gmail account's password. This is mentioned in the pipe's README:
Note: Google accounts will not be supported with less secure apps according to Google changes for less secure apps. To make this pipe work with Google accounts its necessary to set up Google app password.
You can create a Google app password from this page:
Then, go to the Repository variables in Bitbucket (or Workspace variables, depending on where you defined this variable) and locate the variable EMAIL_PASSWORD. If you click the value of the variable, you'll be able to provide a new value. Give the Google app password as new value and save it.
Please feel free to let me know if the notifications work after you make this change, or if you still experience any issues.
Just a heads up, I removed the email addresses from your post for privacy reasons, as this is a public forum.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.