diff --git a/lib/abf_worker/publish_observer.rb b/lib/abf_worker/publish_observer.rb index 6838bdd3a..a069acb72 100644 --- a/lib/abf_worker/publish_observer.rb +++ b/lib/abf_worker/publish_observer.rb @@ -55,7 +55,7 @@ module AbfWorker def update_results(build_list = subject) results = (build_list.results || []). - select{ |r| r['file_name'] !~ /^abfworker\:\:publish\-worker.*\.log$/ } + select{ |r| r['file_name'] !~ /^abfworker\:\:publish\-(container\-)*worker.*\.log$/ } results |= options['results'] sort_results_and_save results, build_list end diff --git a/lib/abf_worker/rpm_worker_observer.rb b/lib/abf_worker/rpm_worker_observer.rb index 416327c4b..4fb598488 100644 --- a/lib/abf_worker/rpm_worker_observer.rb +++ b/lib/abf_worker/rpm_worker_observer.rb @@ -18,6 +18,7 @@ module AbfWorker when COMPLETED subject.build_success subject.now_publish if subject.auto_publish? + subject.publish_container if subject.auto_create_container? when FAILED subject.build_error item.update_attributes({:status => BuildList::BUILD_ERROR})