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") {