crusade-tracker/system/caches/pluginsDslCache/doc/jetbrains.build-server.configs.kotlin.v2018_2/-vcs-settings/root.html
2021-01-18 15:27:50 -05:00

33 lines
3.3 KiB
HTML

<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.v2018_2</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.v2018_2.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v2018_2.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.v2018_2.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v2018_2.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.v2018_2.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v2018_2.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.v2018_2.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v2018_2.Id, 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.v2018_2.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v2018_2.Id, kotlin.Array((kotlin.String)))/rootId">rootId</span><span class="symbol">:</span>&nbsp;<a href="../-id/index.html"><span class="identifier">Id</span></a><span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2018_2.VcsSettings$root(jetbrains.buildServer.configs.kotlin.v2018_2.Id, 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 id 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="rootId"></a>
<code>rootId</code> - VCS root id</p>
<p><a name="rules"></a>
<code>rules</code> - checkout rules, omit if you want to use default checkout rules</p>
</BODY>
</HTML>