From 94d2ddc6aea908a1e1597723c4f9bbeaa66e29c4 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 29 Dec 2018 09:26:01 +1000 Subject: [PATCH] use .repository as it's cleaned at the end. reduce history as well --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e526a7824..65b97d29d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,7 +34,7 @@ buildJdk10 = 'JDK 10 (latest)' buildJdk11 = 'JDK 11 (latest)' buildMvn = 'Maven 3.5.2' deploySettings = 'archiva-uid-jenkins' -localRepository = "../.archiva-master-repository" +localRepository = ".repository" mavenOpts = '-Xms1g -Xmx2g -Djava.awt.headless=true' INTEGRATION_PIPELINE = "Archiva-IntegrationTests-Gitbox" @@ -45,7 +45,7 @@ pipeline { } options { disableConcurrentBuilds() - buildDiscarder(logRotator(numToKeepStr: '15', artifactNumToKeepStr: '15')) + buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: '5')) } parameters { booleanParam(name: 'PRECLEANUP', defaultValue: false, description: 'Clears the local maven repository before build.') -- 2.39.5