]> source.dussan.org Git - archiva.git/commitdiff
use .repository as it's cleaned at the end. reduce history as well
authorOlivier Lamy <olamy@apache.org>
Fri, 28 Dec 2018 23:26:01 +0000 (09:26 +1000)
committerGitHub <noreply@github.com>
Fri, 28 Dec 2018 23:26:01 +0000 (09:26 +1000)
Jenkinsfile

index e526a78242495b5ae78f52605223b06a4633cce8..65b97d29d3c52e5c44df0abbe646d5add56d57e5 100644 (file)
@@ -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.')