20 lines
2.8 KiB
HTML
20 lines
2.8 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<meta charset="UTF-8">
|
|
<title>failOnMetricChange - </title>
|
|
<link rel="stylesheet" href="../style.css">
|
|
</HEAD>
|
|
<BODY>
|
|
<a href="index.html">jetbrains.buildServer.configs.kotlin.v10.failureConditions</a> / <a href="./fail-on-metric-change.html">failOnMetricChange</a><br/>
|
|
<br/>
|
|
<h1>failOnMetricChange</h1>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v10.failureConditions$failOnMetricChange(jetbrains.buildServer.configs.kotlin.v10.FailureConditions, jetbrains.buildServer.configs.kotlin.v10.failureConditions.BuildFailureOnMetric, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.failureConditions.BuildFailureOnMetric, kotlin.Unit)))"></a>
|
|
<code><span class="keyword">fun </span><a href="../jetbrains.build-server.configs.kotlin.v10/-failure-conditions/index.html"><span class="identifier">FailureConditions</span></a><span class="symbol">.</span><span class="identifier">failOnMetricChange</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.failureConditions$failOnMetricChange(jetbrains.buildServer.configs.kotlin.v10.FailureConditions, jetbrains.buildServer.configs.kotlin.v10.failureConditions.BuildFailureOnMetric, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.failureConditions.BuildFailureOnMetric, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="-build-failure-on-metric/index.html"><span class="identifier">BuildFailureOnMetric</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.failureConditions$failOnMetricChange(jetbrains.buildServer.configs.kotlin.v10.FailureConditions, jetbrains.buildServer.configs.kotlin.v10.failureConditions.BuildFailureOnMetric, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.failureConditions.BuildFailureOnMetric, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="-build-failure-on-metric/index.html"><span class="identifier">BuildFailureOnMetric</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <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><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
|
|
<p>Adds a <a href="https://www.jetbrains.com/help/teamcity/?Build+Failure+Conditions#BuildFailureConditions-Failbuildonmetricchange">build failure condition</a>
|
|
failing build on metric change.</p>
|
|
<p><strong>See Also</strong><br/>
|
|
<p><a href="-build-failure-on-metric/index.html">BuildFailureOnMetric</a></p>
|
|
</p>
|
|
</BODY>
|
|
</HTML>
|