Merge pull request #707 from basvandijk/fix-aggregate-status

Fix printing aggregate status
This commit is contained in:
Eelco Dolstra 2020-04-01 13:04:53 +02:00 committed by GitHub
commit 8564089186
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,7 +186,7 @@ END;
IF b.finished && b.buildstatus != 0; nrFailedConstituents = nrFailedConstituents + 1; END; IF b.finished && b.buildstatus != 0; nrFailedConstituents = nrFailedConstituents + 1; END;
END; END;
%]; %];
[%+ IF nrFinished == nrMembers && nrFailedConstituents == 0 %] [%+ IF nrFinished == nrConstituents && nrFailedConstituents == 0 %]
all [% nrConstituents %] constituent builds succeeded all [% nrConstituents %] constituent builds succeeded
[% ELSE %] [% ELSE %]
[% nrFailedConstituents %] out of [% nrConstituents %] constituent builds failed [% nrFailedConstituents %] out of [% nrConstituents %] constituent builds failed