From 176ac403eb8d19e918e9d9ac4cbb363316c493cd Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 27 Mar 2013 12:26:45 -0700 Subject: [PATCH] set instance.success when finished. refs #1424 --- cli/wh-run-pipeline-instance | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/wh-run-pipeline-instance b/cli/wh-run-pipeline-instance index 197519ad63..fd7e6a2243 100755 --- a/cli/wh-run-pipeline-instance +++ b/cli/wh-run-pipeline-instance @@ -464,6 +464,8 @@ class WhRunPipelineInstance report_status sleep 10 if moretodo end + @instance[:success] = @components.reject { |cname,c| c[:job] and c[:job][:success] }.empty? + @instance.save end def cleanup -- 2.30.2