diff options
author | Thanh Ha <thanh.ha@linuxfoundation.org> | 2016-01-11 15:29:53 -0500 |
---|---|---|
committer | Thanh Ha <thanh.ha@linuxfoundation.org> | 2016-01-25 18:25:31 +0000 |
commit | ee4d014e3f9a0461fc05ce2802240301bbbccea0 (patch) | |
tree | 526aeae7970a90f46f9aa2fbcfc69876a8b17d56 | |
parent | b2a8b9ed9814f4b5bbe176a632978c892a5b874c (diff) |
Redirect job output to file and archive them
Also limit max artifacts to keep to 5.
Change-Id: If7603844d12e43f208817dc77b015ddc63786d99
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
-rw-r--r-- | jjb/ci-management-jobs.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
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' |