From 43dd61ffbed7805925e8c89c04afc5e28a3375a8 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sat, 14 Mar 2026 05:09:53 +0900 Subject: [PATCH 1/3] clean old things --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 5588f1b..e2686d3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,8 +2,14 @@ pipeline { agent { label "built-in" } + options { + buildDiscarder(logRotator(numToKeepStr: '16', artifactNumToKeepStr: '16')) + } stages { stage("Build document") { + when { + branch "master" + } steps { sh("doxygen") sh("rm -rf /var/www/milsko-doxygen") From 8f04ccdb686ab4a14d853e6b9d29a11499e22b6f Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sat, 14 Mar 2026 05:16:27 +0900 Subject: [PATCH 2/3] cleanup --- Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e2686d3..3dd0369 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,9 @@ +discardBuilds() + pipeline { agent { label "built-in" } - options { - buildDiscarder(logRotator(numToKeepStr: '16', artifactNumToKeepStr: '16')) - } stages { stage("Build document") { when { From 3260643ada9e7c5ca0c3455c8e265d3b68da0c55 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sat, 14 Mar 2026 05:21:53 +0900 Subject: [PATCH 3/3] i wonder if this works --- Jenkinsfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3dd0369..7921f0c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,3 @@ -discardBuilds() - pipeline { agent { label "built-in"