Am 13.10.2015 um 12:27 schrieb Leon Leon <chahin...@googlemail.com>:Dear Jenkins Users,
I am trying to use the Warnings plugin in a Workflow job. However, since it is not available in the snippet generator. I am using it this way:
step([$class: 'WarningsPublisher', consoleParsers: [[parserName: 'myParser']]])
How can I add more options to this ? I need to make it always run even if the build failed (So I need this option: Run always: If this plug-in should run even for failed builds then activate this check box)
I am also trying to use the Log Parser Plugin in the workflow. It will be very helpful if you can give me more information about it as well.
Thank you in advance.
--
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/5a582bb7-9219-4d83-a059-bbad3009663c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Maybe these examples are interesting for you:
https://github.com/jenkinsci/warnings-plugin/pull/63
The snippet generator seems work fine. Remember, you'll find the option under "General Build Step".
By the way, Log Parser Plugin is not still compatible with Workflow.
Regards,
I already check the source code of the plugins.
But I dont know yet how to use it in the workflow. Can you please help me with that ?
--
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/495dcb30-a816-4f32-8e27-273e61354ec8%40googlegroups.com.