From 43dd61ffbed7805925e8c89c04afc5e28a3375a8 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sat, 14 Mar 2026 05:09:53 +0900 Subject: [PATCH] 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")