crusade-tracker/system/caches/pluginsDslCache/doc/jetbrains.build-server.configs.kotlin.v10/-vcs-settings/root.html

33 lines
3.3 KiB
HTML
Raw Permalink Normal View History

2021-01-18 20:27:50 +00:00
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>VcsSettings.root - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v10</a>&nbsp;/&nbsp;<a href="index.html">VcsSettings</a>&nbsp;/&nbsp;<a href="./root.html">root</a><br/>
<br/>
<h1>root</h1>
<a name="jetbrains.buildServer.configs.kotlin.v10.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v10.VcsRoot, kotlin.Array((kotlin.String)))"></a>
<code><span class="keyword">fun </span><span class="identifier">root</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v10.VcsRoot, kotlin.Array((kotlin.String)))/root">root</span><span class="symbol">:</span>&nbsp;<a href="../-vcs-root/index.html"><span class="identifier">VcsRoot</span></a><span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v10.VcsRoot, kotlin.Array((kotlin.String)))/rules">rules</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><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>Attaches the specified VCS root with the given checkout rules to a template or buildType</p>
<h3>Parameters</h3>
<p><a name="root"></a>
<code>root</code> - VCS root</p>
<p><a name="rules"></a>
<code>rules</code> - checkout rules, omit if you want to use default checkout rules</p>
<p><strong>See Also</strong><br/>
<p><a href="../-vcs-root/index.html">VcsRoot</a></p>
</p>
<a name="jetbrains.buildServer.configs.kotlin.v10.VcsSettings$root(kotlin.String, kotlin.Array((kotlin.String)))"></a>
<code><span class="keyword">fun </span><span class="identifier">root</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.VcsSettings$root(kotlin.String, kotlin.Array((kotlin.String)))/rootExtId">rootExtId</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.VcsSettings$root(kotlin.String, kotlin.Array((kotlin.String)))/rules">rules</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><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>Attaches a VCS root with the specified extId with the given checkout rules to a template or buildType.
This method can be used to attach a VCS root which is not defined in Kotlin.</p>
<h3>Parameters</h3>
<p><a name="rootExtId"></a>
<code>rootExtId</code> - VCS root external id</p>
<p><a name="rules"></a>
<code>rules</code> - checkout rules, omit if you want to use default checkout rules</p>
</BODY>
</HTML>