forked from lix-project/hydra
Fix printing aggregate status
`nrMembers` is undefined and it should have clearly be `nrConstituents` which is calculated just before. Fixes #693.
This commit is contained in:
parent
5c0c7d52a0
commit
bd9b656c54
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue