Fail a build or release based on various conditions
Simplest use case for the Fail task is demo and testing purposes. It is a simple straight forward way to show what it look like when a build fails and how this information is communicated (alerts, dashboard etc) without intentionally checking in bad code or misconfigure an existing build/release template.
The Fail task can also be used to ensure a build/release is not (successfully) run before or after a certain date (typically planning, legal or licensing reasons) or to fail a build/release based on output variables from multiple previous tasks even though each of those individual tasks passed.
Supported failure conditions:
Add a new task and select Fail from the Utility catagory and configure as needed.