From 8bdd8f1a81525e89e0c7f591ffdc749489d7edda Mon Sep 17 00:00:00 2001 From: George Adams Date: Tue, 11 Jan 2022 10:40:25 +0000 Subject: [PATCH] Update Jenkinsfile --- linuxNew/Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linuxNew/Jenkinsfile b/linuxNew/Jenkinsfile index 3b32fcc56..c6d49d221 100644 --- a/linuxNew/Jenkinsfile +++ b/linuxNew/Jenkinsfile @@ -4,9 +4,9 @@ pipeline { agent { label NODE_LABEL } - options([ - buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '1', daysToKeepStr: '', numToKeepStr: '10')), - ]) + options { + buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '1')) + } parameters { string(name: 'PRODUCT', defaultValue: 'temurin') string(name: 'JDK_SOURCE', defaultValue: 'Adoptium')