diff options
author | Olivier Lamy <olamy@apache.org> | 2018-12-29 09:26:01 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-29 09:26:01 +1000 |
commit | 94d2ddc6aea908a1e1597723c4f9bbeaa66e29c4 (patch) | |
tree | b4ae63e7ae48fb29acc0aca4e15adc55bdbbc394 /Jenkinsfile | |
parent | 4dd4186c3308557959e7b1caf848328d56ba5099 (diff) | |
download | archiva-94d2ddc6aea908a1e1597723c4f9bbeaa66e29c4.tar.gz archiva-94d2ddc6aea908a1e1597723c4f9bbeaa66e29c4.zip |
use .repository as it's cleaned at the end. reduce history as well
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 4 |
1 files 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.') |