From: donghee yang Date: Thu, 11 Oct 2012 10:14:23 +0000 (+0900) Subject: [Title] Fixed to check distribution when RESOLVE operation X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ff89f60066f515c5ade928b58a3d89b417adb32;p=sdk%2Ftools%2Fsdk-build.git [Title] Fixed to check distribution when RESOLVE operation --- diff --git a/src/build_server/BuildJob.rb b/src/build_server/BuildJob.rb index a9ccb69..e864d95 100644 --- a/src/build_server/BuildJob.rb +++ b/src/build_server/BuildJob.rb @@ -706,6 +706,11 @@ class BuildJob < CommonJob # return pending job that wait for me def get_pending_ancestor_job() @server.jobmgr.get_pending_jobs.each do |job| + # must have same distribution + if get_distribution_name() != job.get_distribution_name() then + next + end + if job.is_rev_fail_project(@project,@os) then return job end