From bd9b656c54a33b0a4e56db82bc0d34afbb98b644 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Sun, 26 Jan 2020 20:15:18 +0100 Subject: [PATCH] Fix printing aggregate status `nrMembers` is undefined and it should have clearly be `nrConstituents` which is calculated just before. Fixes #693. --- src/root/build.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root/build.tt b/src/root/build.tt index 750ae474..f13d35d3 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -186,7 +186,7 @@ END; IF b.finished && b.buildstatus != 0; nrFailedConstituents = nrFailedConstituents + 1; END; END; %]; - [%+ IF nrFinished == nrMembers && nrFailedConstituents == 0 %] + [%+ IF nrFinished == nrConstituents && nrFailedConstituents == 0 %] all [% nrConstituents %] constituent builds succeeded [% ELSE %] [% nrFailedConstituents %] out of [% nrConstituents %] constituent builds failed