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

At team repository, my application account can not upload zip file.

Kikyo Kakitsubata August 12, 2019

I created some team repository, and I configured my application account.
My configuration of pipeline, it creates zip archive.
I want to upload it to download aria of team repository.
How can I do?

Referenced url:https://confluence.atlassian.com/bitbucket/deploy-build-artifacts-to-bitbucket-downloads-872124574.html

I tried to upload some file to it with my application account,
it failed.
But I tried same case with my account, it was success.
Failed example:
curl -X POST https://Application_account:PASSWOED@api.bitbucket
.org/2.0/repositories/${GROUP_NAME}/${REPOGITORY_NAME}/downloads -F files=@test.tx
t
Succeeded Example:
curl -s -u AkihaTohno -LX POST https://api.bitbucket.org/2.0/repositories/${GROUP_NAME}/${REPOGITORY_NAME}/downloads -F files=@test.txt

1 answer

0 votes
Raul Gomis
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2019

Hi @Kikyo Kakitsubata ,

You are probably having an issue with permissions. You need to make sure that your application account has write permissions to the account where you want to upload the file to, so that it can upload the file.

Regards,  

Raul

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events