From 74cc758729cd8d27c34e4ad59e5181bf6112519b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 26 Mar 2021 20:41:17 +0100 Subject: Jenkins: fix type - do not keep 200 builds --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 49e2bc64..11eaa6f5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -// Copyright (C) 2019 VyOS maintainers and contributors +// Copyright (C) 2019-2021 VyOS maintainers and contributors // // This program is free software; you can redistribute it and/or modify // in order to easy exprort images built to "external" world @@ -13,14 +13,12 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see . - @NonCPS // Using a version specifier library, use 'current' branch. The underscore (_) // is not a typo! You need this underscore if the line immediately after the // @Library annotation is not an import statement! @Library('vyos-build@current')_ - setDescription() // Due to long build times on DockerHub we rather build the container by ourself @@ -102,7 +100,7 @@ pipeline { timeout(time: 120, unit: 'MINUTES') parallelsAlwaysFailFast() timestamps() - buildDiscarder(logRotator(numToKeepStr: '200')) + buildDiscarder(logRotator(numToKeepStr: '20')) } parameters { string(name: 'BUILD_BY', defaultValue: 'autobuild@vyos.net', description: 'Builder identifier (e.g. jrandomhacker@example.net)') -- cgit v1.2.3