I have an ssh task which executes a remote start command and I am trying
to get the exit status using outputproperty. However I notice that the
outputproperty value is not being set. Any Idea's? here is a part of my
build.
<sshexec host="${remote.server}" username="${remote.user}"
keyfile="${user.home}/.ssh/id_dsa" trust="true" command="xxxx"
outputproperty="step4.out"/>
<echo message="${step4.out}"/>
</target>
<target name="stop.step5" depends="stop.step4">
<if>
<equals arg1="${step4.out}" arg2="0" />
<then>
<XXXXXX>
---
${step4.out} is not being set at all. The ssh task executes fine.
Anil