From be9dba478832e89c3a1fed1617993314c81e6081 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 26 Nov 2016 13:01:43 +0100 Subject: [PATCH] Jenkinsfile: Automatically discard old artifacts --- Jenkinsfile | 2 ++ data | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 926f4e2e..ccd147b7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,5 @@ +properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '20']]]) + node('master') { stage 'Pull changes' checkout scm diff --git a/data b/data index f96cf394..3b99a621 160000 --- a/data +++ b/data @@ -1 +1 @@ -Subproject commit f96cf394a327210ac9e40d68d68963f25633f758 +Subproject commit 3b99a62185c4aba3c6c7507dfbbbcf5bcbce3ba2