Well I guess this depends basically on the test plugin, independently from workflow itself. If some plugin, say the junit one, doesn't support this then I think you just then put many sh steps to achieve this.
Might seem not so interesting compared to a typical script, but the difference is you then get suspendability and so on quite naturally. HTH Le 2 mars 2015 15:25, "Arek Skalski" <askalsk...@gmail.com> a écrit : > I want to implement threshold for number of failed tests on my worklfow > build. If there are some failures and the threshold is not exceeded I would > like to mark my build as unstable. How can I do it inside workflow job? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/3a013e89-e7ab-482b-98c0-22388b59b285%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/3a013e89-e7ab-482b-98c0-22388b59b285%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7XvZSPXi6aBOtFD0%3D5OZBodxSN07UPsv%3D9q0%2BHUT7feg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.