From e0112a367a1b24e4c7c26c2f72f5a38a07d8a659 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 24 Mar 2021 16:55:09 +0100 Subject: [PATCH] Fix the Jenkinsfile. --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1c6cea2..8703d65 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,9 +2,7 @@ pipeline { // Multi-branch pipeline script for Yerbacon. agent any options { - if (env.BRANCH_NAME != 'stable') { - buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14')) - } + buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14')) sidebarLinks([ [displayName: 'Gitea Repository', iconFileName: '/userContent/Yerbacon.png', urlName: 'https://gits.username404.fr/Username404-59/Yerbacon/src/branch/' + env.BRANCH_NAME] ])