If I remember well, the command return value is the fail/pass. So you may want to craft your command to return non 0 and make the build fail when something did not goes as planed.
-- 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/614d0da8-4dcc-410f-81a4-4fd745998dff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.