projects
/
sdk
/
tools
/
sdk-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f907555
)
[Title] Fixed to update job status even it failed with unknown error
author
donghee yang
<donghee.yang@samsung.com>
Mon, 11 Mar 2013 18:06:26 +0000
(
03:06
+0900)
committer
donghee yang
<donghee.yang@samsung.com>
Mon, 11 Mar 2013 18:06:26 +0000
(
03:06
+0900)
src/build_server/CommonJob.rb
patch
|
blob
|
history
diff --git
a/src/build_server/CommonJob.rb
b/src/build_server/CommonJob.rb
index c6409e756a0d1b2a16246cc2eb2540a81cbb0bb0..a3522711a7ed77c80b06f9adf55b1cce4f72a387 100644
(file)
--- a/
src/build_server/CommonJob.rb
+++ b/
src/build_server/CommonJob.rb
@@
-145,9
+145,11
@@
class CommonJob
if not is_sub_job? then terminate() end
rescue BuildServerException => e
@log.error e.message
+ if @status == "WORKING" then @status = "ERROR" end
rescue => e
@log.error e.message
@log.error e.backtrace.inspect
+ if @status == "WORKING" then @status = "ERROR" end
ensure
@thread = nil
end