110 lines
17 KiB
HTML
110 lines
17 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<meta charset="UTF-8">
|
|
<title>Triggers - </title>
|
|
<link rel="stylesheet" href="../../style.css">
|
|
</HEAD>
|
|
<BODY>
|
|
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v10</a> / <a href="./index.html">Triggers</a><br/>
|
|
<br/>
|
|
<h1>Triggers</h1>
|
|
<code><span class="keyword">class </span><span class="identifier">Triggers</span></code>
|
|
<p>Collection of <a href="../-trigger/index.html">build triggers</a> in <a href="../-build-type/index.html">build configuration</a> or <a href="../-template/index.html">template</a></p>
|
|
<h3>Constructors</h3>
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<p><a href="-init-.html"><init></a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="identifier">Triggers</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Triggers$<init>(jetbrains.buildServer.configs.kotlin.v10.Triggers, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Triggers, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Triggers</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Triggers$<init>(jetbrains.buildServer.configs.kotlin.v10.Triggers, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Triggers, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Triggers</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></code></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3>Functions</h3>
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<p><a href="plus.html">plus</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">plus</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Triggers$plus(jetbrains.buildServer.configs.kotlin.v10.Triggers)/other">other</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Triggers</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Triggers</span></a></code><br/>
|
|
<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">plus</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Triggers$plus(jetbrains.buildServer.configs.kotlin.v10.Trigger)/trigger">trigger</span><span class="symbol">:</span> <a href="../-trigger/index.html"><span class="identifier">Trigger</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Triggers</span></a></code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p><a href="trigger.html">trigger</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">fun </span><span class="identifier">trigger</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Triggers$trigger(jetbrains.buildServer.configs.kotlin.v10.Trigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Trigger, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="../-trigger/index.html"><span class="identifier">Trigger</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Triggers$trigger(jetbrains.buildServer.configs.kotlin.v10.Trigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Trigger, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-trigger/index.html"><span class="identifier">Trigger</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 new trigger</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3>Extension Functions</h3>
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<p><a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/finish-build-trigger.html">finishBuildTrigger</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">Triggers</span></a><span class="symbol">.</span><span class="identifier">finishBuildTrigger</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$finishBuildTrigger(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.FinishBuildTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.FinishBuildTrigger, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-finish-build-trigger/index.html"><span class="identifier">FinishBuildTrigger</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$finishBuildTrigger(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.FinishBuildTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.FinishBuildTrigger, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-finish-build-trigger/index.html"><span class="identifier">FinishBuildTrigger</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 href="https://www.jetbrains.com/help/teamcity/?Configuring+Finish+Build+Trigger">Finish Build Trigger</a> to build configuration or template</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p><a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/maven-artifact.html">mavenArtifact</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">Triggers</span></a><span class="symbol">.</span><span class="identifier">mavenArtifact</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$mavenArtifact(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.MavenArtifactDependencyTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.MavenArtifactDependencyTrigger, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-maven-artifact-dependency-trigger/index.html"><span class="identifier">MavenArtifactDependencyTrigger</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$mavenArtifact(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.MavenArtifactDependencyTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.MavenArtifactDependencyTrigger, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-maven-artifact-dependency-trigger/index.html"><span class="identifier">MavenArtifactDependencyTrigger</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/?Configuring+Maven+Triggers#ConfiguringMavenTriggers-MavenArtifactDependencyTrigger">trigger</a>.
|
|
running builds when there is a modification of the maven dependency content.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p><a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/maven-snapshot.html">mavenSnapshot</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">Triggers</span></a><span class="symbol">.</span><span class="identifier">mavenSnapshot</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$mavenSnapshot(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.MavenSnapshotDependencyTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.MavenSnapshotDependencyTrigger, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-maven-snapshot-dependency-trigger/index.html"><span class="identifier">MavenSnapshotDependencyTrigger</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$mavenSnapshot(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.MavenSnapshotDependencyTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.MavenSnapshotDependencyTrigger, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-maven-snapshot-dependency-trigger/index.html"><span class="identifier">MavenSnapshotDependencyTrigger</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/?Configuring+Maven+Triggers#ConfiguringMavenTriggers-MavenSnapshotDependencyTrigger">trigger</a>
|
|
running builds when there is a modification of the snapshot dependency content in the remote repository.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p><a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/retry-build.html">retryBuild</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">Triggers</span></a><span class="symbol">.</span><span class="identifier">retryBuild</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$retryBuild(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.RetryBuildTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.RetryBuildTrigger, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-retry-build-trigger/index.html"><span class="identifier">RetryBuildTrigger</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$retryBuild(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.RetryBuildTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.RetryBuildTrigger, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-retry-build-trigger/index.html"><span class="identifier">RetryBuildTrigger</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 Retry Build Trigger</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p><a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/schedule.html">schedule</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">Triggers</span></a><span class="symbol">.</span><span class="identifier">schedule</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$schedule(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.ScheduleTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.ScheduleTrigger, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-schedule-trigger/index.html"><span class="identifier">ScheduleTrigger</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$schedule(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.ScheduleTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.ScheduleTrigger, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-schedule-trigger/index.html"><span class="identifier">ScheduleTrigger</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 href="https://www.jetbrains.com/help/teamcity/?Configuring+Schedule+Triggers">Schedule Build Trigger</a> to build configuration or template</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p><a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/vcs.html">vcs</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">Triggers</span></a><span class="symbol">.</span><span class="identifier">vcs</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$vcs(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.VcsTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.VcsTrigger, kotlin.Unit)))/base">base</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-vcs-trigger/index.html"><span class="identifier">VcsTrigger</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.triggers$vcs(jetbrains.buildServer.configs.kotlin.v10.Triggers, jetbrains.buildServer.configs.kotlin.v10.triggers.VcsTrigger, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.triggers.VcsTrigger, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../../jetbrains.build-server.configs.kotlin.v10.triggers/-vcs-trigger/index.html"><span class="identifier">VcsTrigger</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 href="https://www.jetbrains.com/help/teamcity/?Configuring+VCS+Triggers">VCS trigger</a> to the build configuration or template</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</BODY>
|
|
</HTML>
|