Hi
I believe that when I know ruby better I should be able to answer this
myself but for now I would appreciate some help.

Is there a way to customize the message per task when a task aborts.

I would also like to customize the message if a task like the
following executes:
  run <<-CMD
    for ((n=0; n<61; n++ )); do
      if wget localhost:8080/gta-jcbs-xml/buildInfo.jsp --quiet -O - --
connect-timeout=1 --timeout=1 --tries=1 | grep -q 'Build Information';
then echo 'Application Succesfully deployed';exit 0;
      elif [ $n -eq 60 ]; then echo "Server did not deploy in time";
      exit 0;
      fi;
      sleep 1;
    done
  CMD

because the execute message looks awfull:
  * executing "for ((n=0; n<61; n++ )); do\\\n      if wget localhost:
8080/gta-jcbs-xml/buildInfo.jsp --quiet -O - --connect-timeout=1 --
timeout=1 --tries=1 | grep -q 'Build Information'; then echo
'Application Succesfully deployed';exit 0;\\\n      elif [ $n -eq
60 ]; then echo \"Server did not deploy in time\";\\\n      exit 0;\\
\n      fi;\\\n      sleep 1;\\\n    done"


Regards
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to