Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,842
Community Members
 
Community Events
176
Community Groups

Failed to add an attachment. No such file *

Hello, we have a bitbucket-pipelines.yml file with following step to test by e2e our application, and looks like this:

 


 

after-script:
- ALERT_TYPE="success"
- if [[ $BITBUCKET_EXIT_CODE -ne 0 ]]; then ALERT_TYPE="error" ; fi
- pipe: atlassian/email-notify:0.5.0
variables:
USERNAME: $BITBUCKET_EMAIL_NOTIFICATION
PORT: 587
PASSWORD: $BITBUCKET_EMAIL_NOTIFICATION_PASSWORD
FROM: '...'
TO: '...'
HOST: '...'
SUBJECT: '${ALERT_TYPE}:Bitbucket Pipe Notification for ${BITBUCKET_BRANCH}'
DEBUG: 'true'
ATTACHMENTS: cypress/videos/**/*

Like can we see we want to attach videos files to the email notification, but we still get the same message response "Failed to add an attachment. No such file *", everything works fine only when we use following absolute file name like this
"cypress/videos/1-payment-flow/basic_payment_flow.spec.js.mp4",
how we can attach dynamic files name generated by cypress?
thanks, best regards.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events