蚂蚁平行于标记建立成功

时间:2016-08-19 10:16:46

标签: ant

启动服务器后,我正在使用ANT并行任务来超时。在超时时,ant返回构建失败。我希望构建在超时秒后成功。请找到以下代码。

<target name="tomcat-start">
    <parallel threadCount="1" timeout="30000" failonany="true">
  <sshexec host="10.0.19.47"
    trust="true"
  username="${server_username}"
  password="${server_password}"
  command="nohup java -jar /home/techteam/TravelSecure-deployments/DTCMWS_TravelSecure-0.0.1-SNAPSHOT.jar &amp; disown" />
  <echo> Microsite service started successfully. Please wait for service to start running</echo>
  </parallel>
  </target>

0 个答案:

没有答案