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

Copy an artifact to a directory in repository

I need to copy the allure results after test execution to a folder in the main repository so I can use it to publish results.

Using this command:

cp -r allure-report $BITBUCKET_GIT_HTTP_ORIGIN/public

Getting this error:

+ cp -r allure-report $BITBUCKET_GIT_HTTP_ORIGIN/public
cp: cannot create directory /bitbucket.org/63idealabs/nc-test-automation/public: No such file or directory

1 answer

1 accepted

0 votes
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 05, 2022

Hi @Krishna Kumar Singhal

Thank you for reaching out to the community.

From your configuration, instead of using the variable $BITBUCKET_GIT_HTTP_ORIGIN, would it be possible for you to try to use $BITBUCKET_CLONE_DIR since you're referring to a directory?

Let me know how it goes.

Regards,
Mark C

Thanks for your reply @Mark C, this issue was resolved, didn't delete just in case someone else had the same query.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events