From 9ff89f60066f515c5ade928b58a3d89b417adb32 Mon Sep 17 00:00:00 2001 From: donghee yang Date: Thu, 11 Oct 2012 19:14:23 +0900 Subject: [PATCH] [Title] Fixed to check distribution when RESOLVE operation --- src/build_server/BuildJob.rb | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.34.1