The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Dan Rumney
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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}

TAGS
AUG Leaders

Atlassian Community Events