Merge pull request #6468 from corda/wz/merge-44-45-2020-07-15

INFRA-427: Store 14 days of builds
This commit is contained in:
Waldemar Żurowski
2020-07-15 12:10:33 +01:00
committed by GitHub
8 changed files with 9 additions and 1 deletions

View File

@ -14,6 +14,7 @@ pipeline {
options { options {
timestamps() timestamps()
timeout(time: 3, unit: 'HOURS') timeout(time: 3, unit: 'HOURS')
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
} }
stages { stages {

View File

@ -28,6 +28,7 @@ pipeline {
ansiColor('xterm') ansiColor('xterm')
timestamps() timestamps()
timeout(time: 3, unit: 'HOURS') timeout(time: 3, unit: 'HOURS')
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
/* /*
* a bit awkward to read * a bit awkward to read

View File

@ -9,6 +9,7 @@ pipeline {
timestamps() timestamps()
overrideIndexTriggers(false) overrideIndexTriggers(false)
timeout(time: 3, unit: 'HOURS') timeout(time: 3, unit: 'HOURS')
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
} }
triggers { triggers {
pollSCM ignorePostCommitHooks: true, scmpoll_spec: '@midnight' pollSCM ignorePostCommitHooks: true, scmpoll_spec: '@midnight'

View File

@ -8,6 +8,7 @@ pipeline {
options { options {
timestamps() timestamps()
timeout(time: 3, unit: 'HOURS') timeout(time: 3, unit: 'HOURS')
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
} }
environment { environment {

View File

@ -12,6 +12,7 @@ pipeline {
ansiColor('xterm') ansiColor('xterm')
overrideIndexTriggers(false) overrideIndexTriggers(false)
timeout(time: 3, unit: 'HOURS') timeout(time: 3, unit: 'HOURS')
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
} }
triggers { triggers {

View File

@ -12,6 +12,7 @@ pipeline {
ansiColor('xterm') ansiColor('xterm')
overrideIndexTriggers(false) overrideIndexTriggers(false)
timeout(time: 3, unit: 'HOURS') timeout(time: 3, unit: 'HOURS')
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
} }
environment { environment {

View File

@ -38,6 +38,7 @@ pipeline {
options { options {
timestamps() timestamps()
timeout(time: 3, unit: 'HOURS') timeout(time: 3, unit: 'HOURS')
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
} }
environment { environment {

1
Jenkinsfile vendored
View File

@ -9,6 +9,7 @@ pipeline {
options { options {
timestamps() timestamps()
timeout(time: 3, unit: 'HOURS') timeout(time: 3, unit: 'HOURS')
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
} }
environment { environment {