+* 2.1.11
+- Fixed a bug that "CANCEL" of remote job is not finished
+== donghee yang <donghee.yang@samsung.com> 2013-03-26
* 2.1.10
- Added more check points for immediate "CANCEL"
== donghee yang <donghee.yang@samsung.com> 2013-03-26
Source : dibs
-Version :2.1.10
+Version :2.1.11
Maintainer : taejun ha<taejun.ha@samsung.com>, jiil hyoun <jiil.hyoun@samsung.com>, donghyuk yang <donghyouk.yang@samsung.com>, donghee yang <donghee.yang@samsung.com>, sungmin kim <dev.sungmin.kim@samsung.com
Package : dibs
class BuildServerException < Exception
+ attr_accessor :err_code
+
@@err_msgs = {
"ERR001" => "Invalid request format is used!",
"ERR002" => "Distribution not found!",
if not is_sub_job? then terminate() end
rescue BuildServerException => e
@log.error e.message
- if @status == "WORKING" then @status = "ERROR" end
+ # "CANCEL" operation(ERR900) must be excluded
+ if @status == "WORKING" and e.err_code != "ERR900" then @status = "ERROR" end
rescue => e
@log.error e.message
@log.error e.backtrace.inspect