summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorThanh Ha <thanh.ha@linuxfoundation.org>2016-01-11 15:18:32 -0500
committerThanh Ha <thanh.ha@linuxfoundation.org>2016-01-11 15:18:32 -0500
commit6cbae46fa7a9ca65ad70fc0b118ee1c5908b2c90 (patch)
treed69f6ad5989660db8009892c876e4ab9904a1c84 /jjb
parent4af37962364745bd3cddb53d131fad9bf374f0cf (diff)
Redirect job output to file and archive them
Change-Id: I9f23d0a191de68811062c803d7ec85d05ecd679d Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/releng-jobs.yaml4
-rwxr-xr-xjjb/verify-releng2
2 files changed, 5 insertions, 1 deletions
diff --git a/jjb/releng-jobs.yaml b/jjb/releng-jobs.yaml
index 17d64d04a..27007d0da 100644
--- a/jjb/releng-jobs.yaml
+++ b/jjb/releng-jobs.yaml
@@ -51,6 +51,10 @@
- shell:
!include-raw verify-releng
+ publishers:
+ - archive-artifacts:
+ artifacts: 'job_output/*'
+
- job-template:
name: 'builder-merge'
diff --git a/jjb/verify-releng b/jjb/verify-releng
index 807df1b11..290b4c5a5 100755
--- a/jjb/verify-releng
+++ b/jjb/verify-releng
@@ -10,4 +10,4 @@ for x in $(find . -name *\.yml); do
done
source /opt/virtualenv/jenkins-job-builder/bin/activate
-jenkins-jobs test jjb/
+jenkins-jobs test -o job_output jjb/