mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
only keep last 10 builds of every pr on jenkins to reduce disk usage
This commit is contained in:
parent
d0810d78ad
commit
ccc61060a0
1
.ci/docs
1
.ci/docs
@ -6,6 +6,7 @@ pipeline {
|
||||
timestamps()
|
||||
ansiColor('xterm')
|
||||
timeout(time: 2, unit: 'HOURS')
|
||||
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||
}
|
||||
environment {
|
||||
PYENV_ROOT = "/usr/local/pyenv"
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 6
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 8
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
@ -5,6 +5,7 @@ def testrun_timeout = 8
|
||||
def global_timeout = testrun_timeout + 1;
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
|
||||
[
|
||||
$class: 'ScannerJobProperty', doNotScan: false
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user