Is it possible to build using npm, then zip it, and upload it to the repository downloads page in Bitbucket cloud using Bitbucket pipelines? Or is there an easier way to have a build history page?
Yes - while not supported via the Rest API, there is a script available that will upload artifacts to the Bitbucket Cloud downloads page - If you can't find it via Google, let me know and I'll dig it up for you.
-Rich
I'd be happy to see the script. Didn't succeeded in my search for it.
Yes, this will be helpfull fo mee too. Please, give some direction for find it.
Was this script linked anywhere? I would love it too.
This appears to be a solution that uses cURL:
https://bitbucket.org/Swyter/bitbucket-curl-upload-to-repo-downloads/overview
And this appears to be the relevant REST API documentation:
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/downloads
see here: https://confluence.atlassian.com/bitbucket/deploy-build-artifacts-to-bitbucket-downloads-872124574.html
The data on this page is missing.
It looks like you're new here. Sign in or register to get started.