From: Thanh Ha Date: Mon, 11 Jan 2016 20:29:53 +0000 (-0500) Subject: Redirect job output to file and archive them X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=ee4d014e3f9a0461fc05ce2802240301bbbccea0;p=ci-management.git Redirect job output to file and archive them Also limit max artifacts to keep to 5. Change-Id: If7603844d12e43f208817dc77b015ddc63786d99 Signed-off-by: Thanh Ha --- diff --git a/jjb/ci-management-jobs.yaml b/jjb/ci-management-jobs.yaml index 209152f85..795abce3b 100644 --- a/jjb/ci-management-jobs.yaml +++ b/jjb/ci-management-jobs.yaml @@ -18,7 +18,7 @@ daysToKeep: 30 numToKeep: 10 artifactDaysToKeep: -1 - artifactNumToKeep: -1 + artifactNumToKeep: 5 parameters: - project-parameter: @@ -63,9 +63,13 @@ 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'