I have the following pipeline my repo:
- make push_stable
Then the Makefile which is used:
ifeq ("$(CI)", "true")
When I go on a specific commit (does not matter on what branch I am ) and tag it (with UI), the pipeline will correctly trigger. But the value displayed for BITBUCKET_TAG is always equal to "develop".
I saw this post but, to be honest, i do not quite understand the conclusion.
Am I supposed to use the BITBUCKET_TAG as part of pipeline script ?
Hi, @Jonathan B! Welcome to the community!
Could you please check the value of $BITBUCKET_TAG directly in the YML file instead of printing from the Makefile? That will help us to take out the makefile related issues outside.
You can use the following YML:
tags: '*.*.*': - step: script: - echo $BITBUCKET_TAG
Thank you. Please, feel free to share any additional information regarding this case.
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events