Only keep 3 builds
This commit is contained in:
parent
abe9a5ba55
commit
68e26ab33b
1 changed files with 8 additions and 0 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -1,6 +1,14 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
|
options {
|
||||||
|
buildDiscarder(
|
||||||
|
logRotator(
|
||||||
|
numToKeepStr: '3'
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage("Build on Linux") {
|
stage("Build on Linux") {
|
||||||
agent {
|
agent {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue