step([$class: 'WsCleanup'])
step([$class : 'XUnitPublisher',
testTimeMargin: '3000',
thresholdMode: 1,
thresholds: [
[$class: 'FailedThreshold', failureNewThreshold: '', failureThreshold:'2', unstableNewThreshold: '', unstableThreshold: '']
],
tools : [[$class: 'MSTestJunitHudsonTestType',
deleteOutputFiles: true,
failIfNotNew: false,
pattern: "\\TestResults\\*.trx",
skipNoTestFiles: false,
stopProcessingIfError: true
]]
])
Some plugins may not have a @Symbol annotation, or explicit pipeline step implementation. If they don't, but do implement SimpleBuildStep, then they will show up usable under step(). The @Symbol allows for a more symbolic usage of the step in pipeline scripts. Otherwise, the plugin has to implement a separate pipeline step class an provide an implementation of a method which returns the shorthand for executing the step. Pipeline support in plugins is still something that needs work, there are many plugins that don't implement the correct functions.
--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/18d4bdf9-fee3-47c9-b2de-b765d05e1213%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.