You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Is there a way to perform a math operation within the "Tag Name" field when configuring "Repository Tag" task?
For example, I would like to add a git commit tag based on the current Bamboo build number. However, the build number should be subtracted by 5. So something like this:
0.0/0.0.(${bamboo.buildNumber}-5)
and when bamboo.buildNumber is equal to 16, the tag would be 0.0/0.0.11.
Hello @Eduardo Wiputra,
Welcome to Atlassian Community!
The "Repository Tag" task will not do mathematical operations whilst tagging a commit.
You can either:
Kind regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
Hello @Eduardo Alvarenga
Thank you very much for the replies! I wasn't aware of "Injection Task" before I asked the question. Since then, I've experimented with it and realized how powerful it can be.
Sincerely,
Eduardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Eduardo Wiputra
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.