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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.