Actually we are kind of focusing on automating Bitbucket Repository creation and configuring the bitbucket completely with the Bitbucket API. If the API page contains some example code means it would be helpful. Like how to configure specific APIs and use them.
@AbhishekRsv You can use the following REST command to create a deployment environment. The endpoint is not yet documented, I have raised a ticket to add it to the public documentation.
curl 'https://api.bitbucket.org/2.0/repositories/<workspace>/<reposlug>/environments/' \
-u <username>:<password>
-H 'content-type: application/json' \
--data-raw '{"environment_type":{"name":"Test"},"name":"communities","rank":0}' \
Is there also a way to rename an existing deployment environment? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Justin Thomas
How can we create the deployment variables ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.