diff options
author | Silenio Quarti <silenio> | 2010-11-01 15:07:40 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2010-11-01 15:07:40 +0000 |
commit | 18b3c5dd99a06391e0a2898dc98ae41d3dd9866f (patch) | |
tree | 409c44de92a68069c56bd461ca6f216327ef64e9 | |
parent | 7e44ea59e9c89a4332ff56070a1d6ed1111649f9 (diff) | |
download | eclipse.platform.swt-18b3c5dd99a06391e0a2898dc98ae41d3dd9866f.tar.gz eclipse.platform.swt-18b3c5dd99a06391e0a2898dc98ae41d3dd9866f.tar.xz eclipse.platform.swt-18b3c5dd99a06391e0a2898dc98ae41d3dd9866f.zip |
s390 machines check - use scp instead of ping to make sure the firewall is open - detect when failed
-rw-r--r-- | bundles/org.eclipse.swt/tasks/build.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/tasks/build.xml b/bundles/org.eclipse.swt/tasks/build.xml index 177dd0970c..f440afe07b 100644 --- a/bundles/org.eclipse.swt/tasks/build.xml +++ b/bundles/org.eclipse.swt/tasks/build.xml @@ -773,14 +773,14 @@ failonerror="false" trust="true" outputproperty="m_linux_s390_output" - command="echo test machine > ${m_linux_s390}.txt; scp ${m_linux_s390}.txt ${m_linux_s390}:build/; rm ${m_linux_s390}.txt; hostname;"/> + command="echo test machine > ${m_linux_s390}.txt; if scp ${m_linux_s390}.txt ${m_linux_s390}:build/; then rm ${m_linux_s390}.txt; hostname; else rm ${m_linux_s390x}.txt; echo 'failed'; fi"/> <sshexec host="${m_linux_x86}" username="swtbuild" keyfile="${keyfile}" failonerror="false" trust="true" outputproperty="m_linux_s390x_output" - command="echo test machine > ${m_linux_s390x}.txt; scp ${m_linux_s390x}.txt ${m_linux_s390x}:build/; rm ${m_linux_s390x}.txt; hostname;"/> + command="echo test machine > ${m_linux_s390x}.txt; if scp ${m_linux_s390x}.txt ${m_linux_s390x}:build/; then rm ${m_linux_s390x}.txt; hostname; else rm ${m_linux_s390x}.txt; echo 'failed'; fi"/> </parallel> <property name="success_msg" value="Success"/> <property name="fail_msg" value="*** Fail ***"/> |