Redirect test job output to directory 96/32296/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 8 Jan 2016 22:17:48 +0000 (17:17 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 8 Jan 2016 22:23:26 +0000 (17:23 -0500)
The JJB 1.4.0 verify job issue we've been having appears to only affect
stdout. Redirecting the output to an output directory does not cause the
recursive error we see with __getattr__().

Also archive the job output in case we need to inspect them.

See:
http://lists.openstack.org/pipermail/openstack-infra/2016-January/003642.html

Change-Id: I96dc3710dad4cb3d4d3d823d35d7719f4548836c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/releng-jobs.yaml

index 55b7cbb09d601ba3a0468a7fb08c8d3781b35bd8..9d832311c983e69a7d0b50bfab9d85fbce75cf78 100644 (file)
             source /opt/virtualenv/jenkins-job-builder/bin/activate
             pip freeze
             python scripts/jjb-autoupdate-project.py
-            jenkins-jobs test jjb/
+            jenkins-jobs test -o job_output jjb/
         - releng-check-unicode
 
     publishers:
+        - archive-artifacts:
+            artifacts: 'job_output/*'
         - email-notification:
             email-prefix: '[releng]'