Suckow, first to thank you for your help. Ok, I will not repeat more, good to know.
I am running my test via ssh with the plugin "Publish over SSH" and Exec command field: cd / cygdrive / c / jenkins / project-sale-mobile / deliver-main / build / sell-mobile / node_modules / grunt-cli / bin; ./grunt --base C: / jenkins / project-sale-mobile / deliver-main / build / sell-Mobile --gruntfile C: / jenkins / project-sale-mobile / deliver-main / build / sell-mobile / GruntFile.js test They are already being generated in the junit format, this plugin "xUnit" is able to interpret this xml on the remote server via ssh and break the build on the test fails? thank Em quinta-feira, 28 de maio de 2015 19:48:15 UTC-3, Suckow, Thomas J escreveu: > > Also, don't cross post. This should have only been asked on the > jenkins-users list. > > From: Erick Macedo <[email protected] <javascript:>> > Reply-To: "[email protected] <javascript:>" < > [email protected] <javascript:>> > Date: Thursday, May 28, 2015 at 2:21 PM > To: "[email protected] <javascript:>" <[email protected] > <javascript:>> > Subject: How to jenkins interact with tests carried out with Karma via ssh > > hi, > > After much difficulty I can carry out the project for a transfer > windowns server via ssh and run the grunt test. > > Now my problem is the implementation of these test, the grunt performs > functional tests with karma and stores it in an xml, the jenkins displays > the result on the console. > > But even if the test failed it builds successfully build. > > How can I make jenkins interact with these tests to break the build on > failure? > > thank > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/6938fcf1-9a1c-42d8-a2b6-a9b9a52870bc%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/6938fcf1-9a1c-42d8-a2b6-a9b9a52870bc%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 Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/42274a52-a60d-4388-9ef0-d4406deed601%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
