Hello All, We are trying to use Jenkins Groovy Console to get Test Results (Total Count for All modules) for Maven Type Jenkins project. But we are not able to get it worked. If you have any clue on this it will be useful for us.
But we are able to get test/coverage results for, Junit, TestNg, Cobertura etc for freestyle Jenkins projects. Please see the code below how we are getting test results for freestyle projects. junitAction = build.getAction(hudson.tasks.junit.TestResultAction.class) junitTotal = junitAction.getTotalCount() .... testngAction = build.getAction(hudson.plugins.testng.TestNGTestResultBuildAction.class) testngResult = testngAction.getResult() .... Thanks! Prabal -- 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. For more options, visit https://groups.google.com/d/optout.