From b8f81c55a5bf780f8afd82a985d5995fc8399755 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 8 Nov 2017 16:08:33 +0100 Subject: [PATCH] messo step in build... --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 382a5330..82c7dc41 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,9 +35,11 @@ pipeline { } stage('Build') { agent any - options { buildDiscarder(logRotator(numToKeepStr: '30')) } - // properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '30', artifactNumToKeepStr: '30', daysToKeepStr: '30', numToKeepStr: '30')), pipelineTriggers([])]) steps { + script { + options { buildDiscarder(logRotator(numToKeepStr: '30')) } + // properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '30', artifactNumToKeepStr: '30', daysToKeepStr: '30', numToKeepStr: '30')), pipelineTriggers([])]) + } script { /* compilo installers in base al BRANCH del cliente... */ if (env.BRANCH_NAME == "develop") {