Ben Gordon
unread,Jul 30, 2013, 8:40:30 PM7/30/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rundeck...@googlegroups.com
Hi,
Within a job I'm trying to run another job (subjob) and pass arguments. It works fine when passing arguments like ${option.attribute}, but fails when passing arguments ${node.attribute}, e.g. -hostname ${node.username}.
If just prior to calling the subjob, I run a command "echo ${node.username}", it displays what I expect, the value from the resourcse.xml file against the node and the key "username". However, when running the same command in the subjob, i.e. "echo ${node.username}", it displays "${node.username}". It doesn't pass the value. I have tried various alternatives, quotes, multiple quotes, @node.username@, etc, but to no avail.
Does anyone have a solution or is this a bug or by design?
Ben