[Anthill] Run a deploy task on SUCCESS builds?

Eric Minick eric at urbancode.com
Wed May 5 17:43:26 CDT 2004


Tim,

I was just drafting an email to you suggesting that you load the
Anthill-Example into your own CVS. You beat me to it and got a more relevant
result.

As to the deploy task. There are ways to register custom code to listen for
successful or failed builds, but that level of complexity probably isn't
needed. Couldn't your deploy task just go at the bottom of your build
script? Alternatively, you can add an additional ant "builder" to your build
track and list it to run after the first one. I'm 95% sure that if the first
builder fails, the second one is not run.

Regards,

Eric

-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Tim Colson
Sent: Wednesday, May 05, 2004 6:24 PM
To: 'Anthill user list'
Subject: [Anthill] Run a deploy task on SUCCESS builds?


Hey folks -
  Now that I have a project deliverable being built correctly (an ear file),
I need to deploy it to a different machine using ant SCP, remote shell
commands, and a fair amount of voodoo.

  Question: How can I fire off an ant "DEPLOY" task only on SUCCESS builds?

Tim

_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.658 / Virus Database: 421 - Release Date: 4/9/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.658 / Virus Database: 421 - Release Date: 4/9/2004




More information about the Anthill mailing list