Redirect job output to file and archive them
[ci-management.git] / jjb / ci-management-jobs.yaml
index 209152f..795abce 100644 (file)
@@ -18,7 +18,7 @@
         daysToKeep: 30
         numToKeep: 10
         artifactDaysToKeep: -1
-        artifactNumToKeep: -1
+        artifactNumToKeep: 5
 
     parameters:
         - project-parameter:
 
     builders:
         - shell: |
-            jenkins-jobs test jjb/
+            jenkins-jobs test -o job_output jjb/
         - ci-management-check-unicode
 
+    publishers:
+        - archive-artifacts:
+            artifacts: 'job_output/*'
+
 - job-template:
     name: 'ci-management-merge'