Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to include a capability's location in an Inline Script task?

Dan Rumney January 30, 2014

I have a Script task for creating a JAR file that looks like this:

$BAMBOO_CAPABILITY_JAR -cvf ../target/static.war *

As far as I could tell, this is the way to access the value of the jar capability of the agent running my task (it is set as a requirement on the job.

However, $BAMBOO_CAPABILITY_JAR is evaluating to nothing, so my Script task is failing.

So... if I want to include the location of a capability in my in an inline script, how should I do it?

1 answer

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2014

try ${bamboo.capabilityname}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events