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
Is there a way to convert a defined build-specific Bamboo variable to lowercase in plan tasks?
Example:
instead of
${bamboo.planRepository.branch}
I could use something like:
lowercase(${bamboo.planRepository.branch})
lc(${bamboo.planRepository.branch})
${bamboo.planRepository.branch.toLowerCase}
Background: in my repo before a pull request can be merged an automated build executed in Bamboo needs to be successful. I'm using docker task in which image tag contains Git repository branch name, but docker tags must be lowercase while Git branch names - do not have to (developers name their feature branches as they want). This triggers an error in the build (not related with branch code quality)...