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?
try ${bamboo.capabilityname}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.