pkg_list = local_pkg_names.join(",")
rev = is_rev_build ? "YES":"NO"
msg = "BUILD|GIT|#{git_repos}||#{os}|NO|#{no_reverse}|YES|#{rev}|#{commit}|#{pkg_list}|#{dock}|#{dist_name}"
+ r_job_number = Regexp.new('Added new job "([^"]*)"')
if client.send( msg ) then
result = client.read_lines do |l|
# write log first
@log.output( l.strip, Log::LV_USER)
+
+ # set remote job id
+ if @remote_id.nil? and l =~ r_job_number then
+ @remote_id = $1
+ end
# check build result
if l.include? "Job is stopped by ERROR" or