Dustin Kendall
Dustin Kendall

Reputation: 520

Cruise Control .NET force a task to run

How do I ensure that a given task always runs even if others fail? Say I have a task that installs an msi, another that builds a solution file, and then another that uninstalls an msi. If the middle task fails, I still want to uninstall the msi.

Upvotes: 1

Views: 338

Answers (1)

The Chairman
The Chairman

Reputation: 7187

Task blocks may be put into either the <prebuild> section, the <tasks> section, or the <publishers> section. Place any tasks that need to run even if another task fails into the <publishers> section.

Find the documentation here.

Upvotes: 2

Related Questions