Last active
February 10, 2020 18:06
-
-
Save devlead/88ddef11b8954b29441757dc44c6990c to your computer and use it in GitHub Desktop.
teardown_errorlog.cake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task("BOOM") | |
.Does(() => throw new Exception("BOOM")); | |
Teardown(ctx => { | |
for(var i = 1; i <= 15; i++) | |
{ | |
Information("Teardown {0}", i); | |
} | |
}); | |
RunTarget("BOOM"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment