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.
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
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