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.
I have as a capability "JDK 1.8" and "JDK1.8" (there is a space between the 'K' and the '1'). In a bamboo plan, I'm able to reference "${bamboo.capability.system.jdk.JDK1.8}" (no space) just fine. However, I can't figure out how to reference the capability with a space. (I believe that I've tried replacing the space with a '+', '\ ', and just a space.) Is this possible?
Note related URLs: https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html, https://confluence.atlassian.com/display/BAMBOO034/Configuring+Remote+Agent+Capabilities+via+bamboo-capabilities.properties
Thanks.
Specifying the variable with a space works for me.
E.g. inline Script Task "echo capability=${bamboo.capability.system.jdk.JDK 1.8.0_45}" (there's a space between the 'K' and the '1').
Tested in 5.9.7.
Has the behaviour for this changed? Using a space does not work for me.
The key is:
capabilityKey=system.jdk.JDK+11
I have tried:
${bamboo.capability.system.jdk.JDK 11}
${bamboo.capability.system.jdk.JDK_11}
${bamboo.capability.system.jdk.JDK${}11}
They all fail with Bad substitution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oops, I must have gotten confused with trying various capitalizations. Space does indeed work.
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.