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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And this appears to be the relevant REST API documentation:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This appears to be a solution that uses cURL:
https://bitbucket.org/Swyter/bitbucket-curl-upload-to-repo-downloads/overview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.