projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8a712
)
Copy mic log if non-kvm environment
25/126925/1
author
hyokeun
<hyokeun.jeon@samsung.com>
Tue, 25 Apr 2017 09:11:41 +0000
(18:11 +0900)
committer
hyokeun
<hyokeun.jeon@samsung.com>
Tue, 25 Apr 2017 09:11:41 +0000
(18:11 +0900)
Change-Id: I17fb481499983f7c99e1a2a1822a670ee993a088
job_imager.py
patch
|
blob
|
history
diff --git
a/job_imager.py
b/job_imager.py
index
0d2ac5a
..
99647b8
100755
(executable)
--- a/
job_imager.py
+++ b/
job_imager.py
@@
-289,6
+289,12
@@
def main():
os.system('sudo chmod 0777 -R %s' % basedir)
+ try:
+ # Copy logfile to sync directory
+ shutil.copy(log, os.path.join(outdir, build_id, 'images', name))
+ except Exception as err:
+ print 'LOGCPERROR: %s' % err
+
status = 'success'
if ret:
print 'Error: mic returned %d' % ret