Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get maven executable path from capability variable

Alexandre Senecal March 12, 2020

I'm trying to get the path of the Maven executable as described here capability variable  but without success. My build agents use the executable label "Apache Maven 3.6.1".

I try to consume this variable in a script task. Tried passing it as an argument using the 

${bamboo.capability.<capability_key>}

syntax and in the script using the underscore syntax.

 

Please help

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events