Sounds really great, because I Need this function for my new workflow.
But I am not able to find out, how to use this function because, when I try this in Snippet Generator,
Sample Step: "Step: General Build Step"
Build Step: "Publish NUnit test result Report"
all I receive is:
step <object of type hudson.plugins.nunit.NUnitPublisher>
For other types of steps I get a resonable line like:
step([$class: 'XUnitPublisher', testTimeMargin: '3000', thresholdMode: 1, thresholds: [[$class: 'FailedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: ''], [$class: 'SkippedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: '']]])
At the Moment I have no idea, how I could add the "Publish NUnit test result Report" step. (There seems to be no other documentation then Snippet Generator, so I am lost here.)