25 lines
2.8 KiB
HTML
25 lines
2.8 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<meta charset="UTF-8">
|
|
<title>Cleanup.artifacts - </title>
|
|
<link rel="stylesheet" href="../../style.css">
|
|
</HEAD>
|
|
<BODY>
|
|
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v2018_1</a> / <a href="index.html">Cleanup</a> / <a href="./artifacts.html">artifacts</a><br/>
|
|
<br/>
|
|
<h1>artifacts</h1>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v2018_1.Cleanup$artifacts(kotlin.Int, kotlin.Int, kotlin.String)"></a>
|
|
<code><span class="keyword">fun </span><span class="identifier">artifacts</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2018_1.Cleanup$artifacts(kotlin.Int, kotlin.Int, kotlin.String)/days">days</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2018_1.Cleanup$artifacts(kotlin.Int, kotlin.Int, kotlin.String)/builds">builds</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2018_1.Cleanup$artifacts(kotlin.Int, kotlin.Int, kotlin.String)/artifactPatterns">artifactPatterns</span><span class="symbol">:</span> <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> null<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 an <a href="https://www.jetbrains.com/help/teamcity/?Clean-Up#Clean-Up-ProjectClean-upRules">artifacts-level</a> clean-up rule.
|
|
Either <a href="artifacts.html#jetbrains.buildServer.configs.kotlin.v2018_1.Cleanup$artifacts(kotlin.Int, kotlin.Int, kotlin.String)/days">days</a> or <a href="artifacts.html#jetbrains.buildServer.configs.kotlin.v2018_1.Cleanup$artifacts(kotlin.Int, kotlin.Int, kotlin.String)/builds">builds</a> must be non-null, then they are both null
|
|
no clean-up will be added</p>
|
|
<h3>Parameters</h3>
|
|
<p><a name="days"></a>
|
|
<code>days</code> - number of days to store artifacts</p>
|
|
<p><a name="builds"></a>
|
|
<code>builds</code> - number of successful builds to store artifacts for</p>
|
|
<p><a name="artifactPatterns"></a>
|
|
<code>artifactPatterns</code> - patterns for artifacts cleanup, if not specified all artifacts will be removed</p>
|
|
</BODY>
|
|
</HTML>
|