From 3d9e70d441790252895fb68baaa7327212068a96 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 25 Sep 2022 21:20:50 +0200 Subject: [PATCH 1/3] offline building of site deploy to improve performance. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 23c3df3d..13ad14a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,7 @@ pipeline { echo "" echo "Building site for $dir" echo "" - mvn -N -Ddistrib=/data/www/http.utils.wamblee.org/ site site:deploy + mvn -N -o -Ddistrib=/data/www/http.utils.wamblee.org/ site site:deploy echo "" echo "" ) -- 2.31.1 From 347a6500879beba8d4d148bdc575c627795a31b8 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 3 Nov 2024 12:49:46 +0100 Subject: [PATCH 2/3] less retention of builds, builds were not running before but should not run daily --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 13ad14a6..413811dc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,9 +1,15 @@ -String cron_string = BRANCH_NAME == "trunk" ? "10 3 * * *" : "" +String cron_string = BRANCH_NAME == "master" ? "10 3 * * *" : "" pipeline { agent { kubernetes agentsetup(containers: 'java8') + buildDiscarder(logRotator( + numToKeepStr: '5', // Number of build records to keep + artifactNumToKeepStr: '3', // Number of builds for which to keep artifacts + daysToKeepStr: '30', // Days to keep builds + artifactDaysToKeepStr: '15' // Days to keep artifacts + )) } options { disableConcurrentBuilds() -- 2.31.1 From 45c739234d52c681786b3ac5173d68fdc550e8cb Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 3 Nov 2024 12:55:10 +0100 Subject: [PATCH 3/3] removed @param --- .../src/test/java/org/wamblee/test/persistence/MyTables.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/enterprise/src/test/java/org/wamblee/test/persistence/MyTables.java b/test/enterprise/src/test/java/org/wamblee/test/persistence/MyTables.java index 750dfc87..3675faff 100644 --- a/test/enterprise/src/test/java/org/wamblee/test/persistence/MyTables.java +++ b/test/enterprise/src/test/java/org/wamblee/test/persistence/MyTables.java @@ -26,9 +26,6 @@ public class MyTables implements ITableFilterSimple { /** * - * @param aJpaTables - * Specific tables used by the JPA provider in addition to those - * for the entities. */ public MyTables() { // Empty. -- 2.31.1