[Title] fix remote cancel opereation user check
authorjiil.hyoun <jiil.hyoun@samsung.com>
Fri, 28 Dec 2012 06:10:46 +0000 (15:10 +0900)
committerjiil.hyoun <jiil.hyoun@samsung.com>
Fri, 28 Dec 2012 06:10:46 +0000 (15:10 +0900)
[Type] Bugfix
[Module] Toolchain /
[Priority] Minor
[Jira#]
[Redmine#] 7889
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I187180e2123f8ceb52456f733170936f08a0da59

src/build_server/BuildJob.rb

index 3b76b48476375c800e72f1fcc501ca1cc99841fc..71c348524f23f25af07a1a0cb1c189fbcfe082fe 100644 (file)
@@ -204,7 +204,7 @@ class BuildJob < CommonJob
                when "REMOTE_WORKING" then
                        client = BuildCommClient.create( @remote_server.ip, @remote_server.port, @log )
                        if not client.nil? then
-                               client.send "CANCEL|#{@remote_id}|#{self.get_project.passwd}"
+                               client.send "CANCEL|#{@remote_id}|#{self.get_project.passwd}|admin@user"
                                result1 = client.receive_data()
                                if result1.nil? then
                                        @log.info( "cancel operation failed [connection error] !!", Log::LV_USER)