Re: Condition check Question

2008-01-16 Thread Steve Loughran
David Weintraub wrote: Isn't there a "failsonerror" parameter to make the build fail if the ssh command called fails? Would that do what you want? Unlike "exec" task, the sshexec task doesn't have a "resultsproperty" that can contain the exit code if the task fails. So, you can't check for that.

Re: Condition check Question

2008-01-15 Thread David Weintraub
Isn't there a "failsonerror" parameter to make the build fail if the ssh command called fails? Would that do what you want? Unlike "exec" task, the sshexec task doesn't have a "resultsproperty" that can contain the exit code if the task fails. So, you can't check for that. You can set outputprope

Condition check Question

2008-01-14 Thread Z W
Hi Can folks here give examples on how to perform a condition check for this ? I'm executing a sshexec and how do I use to work like if-then-else, following to check if this is executed succesfully Thanks in advance