How to indicate several possible results in Hudson-CI?

Hudson-CI shows the assembly as broken, although the assembly was successful, and only unit tests fail.

Can I configure it to show the red circle only on really broken assemblies and show a different color (let them say yellow) when the assembly is successful and only another condition is violated?

+3
source share
2 answers

Hudson will report a build error if the exit / error code in the last step is not zero. Our testing tool (NUnit) returns zero only if all tests have passed, and I suspect your tests are similar.

, Hudson . . , .

- . Execute Windows :

NUnit-console.exe /options as required...

exit 0

exit 0 , . , , .

, " NUnit", (), (), .

( JUNit, MSTest .., NUnit Hudson)

+3

failonerrors = "on" . ? Apache Ant -

0

Source: https://habr.com/ru/post/1784718/


All Articles