From eb489a1deedf3366325922b29473c8b2302f9fce Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 11 Apr 2022 07:53:28 +1000 Subject: [PATCH] add a Delete action to delete logs older than 30D (#64) * delete old logs files * do not fork compilation Signed-off-by: Olivier Lamy --- Jenkinsfile | 2 +- .../archiva-webapp/src/main/resources/log4j2.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 91354a681..c15f75642 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -106,7 +106,7 @@ pipeline { // -Dmaven.compiler.fork=true: Do compile in a separate forked process // -Dmaven.test.failure.ignore=true: Do not stop, if some tests fail // -Pci-build: Profile for CI-Server - sh "mvn ${cmdLine} -B -U -e -fae -Dorg.slf4j.simpleLogger.showThreadName=true -Dmaven.compiler.fork=true -Pci-build -T${THREADS}" + sh "mvn ${cmdLine} -B -U -e -fae -Dorg.slf4j.simpleLogger.showThreadName=true -Pci-build -T${THREADS}" } } } diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml index 7f12f2f6c..6d18560b2 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml @@ -36,6 +36,13 @@ + + + + + + + + + + + + + +