From: Olivier Lamy Date: Fri, 28 Dec 2018 23:26:01 +0000 (+1000) Subject: use .repository as it's cleaned at the end. reduce history as well X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=94d2ddc6aea908a1e1597723c4f9bbeaa66e29c4;p=archiva.git use .repository as it's cleaned at the end. reduce history as well --- 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.')