Do you mean the same class? Having a pipeline step and a Builder/Notifier/etc implemented in the same plugin works just fine. You can look at the JUnit plugin for an example of something that has both a pipeline Step implementation and a Publisher implemented for use in freestyle.
On Mon, Oct 7, 2019 at 9:53 AM Matthias <[email protected]> wrote: > Understood. > But is there something where I can go with just one plugin for Freestyle > and Pipeline not having the drawback of the missing environment variables? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/aa8f7fd0-23f5-44a2-aa1d-685015820419%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/aa8f7fd0-23f5-44a2-aa1d-685015820419%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Website: http://earl-of-code.com -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVcpR%3DRNCFGKaWd9_uWUey2t3ScFw4Pi8%2BYUdTqEK1J5wg%40mail.gmail.com.
