How to get junit step details from pipeline job

27 views
Skip to first unread message

Ayellet

unread,
Feb 5, 2017, 3:21:32 AM2/5/17
to Jenkins Developers


 My plugin listen to event from pipeline job and I need an access to the JUnit details.

I did not see an access from rg.jenkinsci.plugins.workflow.graph.FlowNode

 

How can I get the info of the step from the event?

 

step example: 

 stage('Results') {

      junit '**/target/surefire-reports/ *.xml'

      archive 'target/*.jar'

   }



Thanks

Ayellet.

Jesse Glick

unread,
Feb 5, 2017, 7:01:50 PM2/5/17
to Jenkins Dev
Depend on the `junit` plugin and then check the `Run` for `TestResultAction` if I remember right.
Reply all
Reply to author
Forward
0 new messages