As we have BITBUCKET_TAG variable where we are using the value of this default variable to write tag in xyz.txt while running build pipeline like this :
echo -e “Tag : $BITBUCKET_TAG" >>xyz.txt
How Can I write tag description in a similar way so that I can get tag value and tag description in xyz.txt, are there tag description variable present if not any other approach.
Thanks!
Hi Tushar,
This is not yet a default variable that is available in Bitbucket Cloud so we would need to raise a feature request with our developers to include it. May I know the use case for this - and may I also have clarification on what is required? Do you mean the tag message that comes with an annotated tag?
Cheers!
- Ben (Bitbucket Cloud Support)
Hi Ben,
Thanks for the reply. So right now we are having tag based build and deployment with Bitbucket Pipeline and as a part of build pipeline yml configuration we are running below command as a script to get the tag value and storing this tag value in xyz.txt file for version tracking in a similar way while creating tag we will get option to add tag description and we are looking for to write a tag description in xyz.txt as we are writing tag value.
echo -e “Tag : $BITBUCKET_TAG" >>xyz.txt
and now we are looking for : echo -e “Description : $BITBUCKET_DESCRIPTION" >>xyz.txt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tushar,
Thank you for the further details, I've just raised a feature request ticket with our developers. Feel free to Watch this for future updates related to it and Vote for it to imrpvoe its visibility with regard to customer demand:
Unfortunately, the functionality you have described is not yet possible in the product.
Cheers!
- Ben (Bitbucket Cloud Support)
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.
Unfortunately there is no update at present, please refer to our feature request policy for context as to how feature request tickets are chosen for implementation and follow the ticket I've logged for updates from our devs.
Cheers!
- Ben (Bitbucket Cloud Support)
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.