crusade-tracker/system/caches/pluginsDslCache/doc/jetbrains.build-server.configs.kotlin.v2018_1.failure-conditions/fail-on-text.html
2021-01-18 15:27:50 -05:00

20 lines
2.0 KiB
HTML

<HTML>
<HEAD>
<meta charset="UTF-8">
<title>failOnText - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="index.html">jetbrains.buildServer.configs.kotlin.v2018_1.failureConditions</a>&nbsp;/&nbsp;<a href="./fail-on-text.html">failOnText</a><br/>
<br/>
<h1>failOnText</h1>
<a name="jetbrains.buildServer.configs.kotlin.v2018_1.failureConditions$failOnText(jetbrains.buildServer.configs.kotlin.v2018_1.FailureConditions, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2018_1.failureConditions.BuildFailureOnText, kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><a href="../jetbrains.build-server.configs.kotlin.v2018_1/-failure-conditions/index.html"><span class="identifier">FailureConditions</span></a><span class="symbol">.</span><span class="identifier">failOnText</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2018_1.failureConditions$failOnText(jetbrains.buildServer.configs.kotlin.v2018_1.FailureConditions, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2018_1.failureConditions.BuildFailureOnText, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-build-failure-on-text/index.html"><span class="identifier">BuildFailureOnText</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-build-failure-on-text/index.html"><span class="identifier">BuildFailureOnText</span></a></code>
<p>Adds a <a href="https://www.jetbrains.com/help/teamcity/?Build+Failure+Conditions#BuildFailureConditions-Failbuildonspecifictextinbuildlog">build failure condition</a> failing build
when specified text is found in a build log.</p>
<p><strong>See Also</strong><br/>
<p><a href="-build-failure-on-text/index.html">BuildFailureOnText</a></p>
</p>
</BODY>
</HTML>