public class MyPlugin extends Step implements Serializable {@Extension
@Symbol("myPlugin")
public static final class DescriptorImpl extends StepDescriptor {public class MyPluginStepExecution extends SynchronousNonBlockingStepExecution<Void> {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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/aa8f7fd0-23f5-44a2-aa1d-685015820419%40googlegroups.com.
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 <matthia...@posteo.de> 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 jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/aa8f7fd0-23f5-44a2-aa1d-685015820419%40googlegroups.com.
--Website: http://earl-of-code.com
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/fda513af-0c0e-4979-b1cd-10f39cb29e1a%40googlegroups.com.
I see. But then again I still have the problem with the missing environment variables from the groovy script in the builder class or is this only an issue for pipelines?
--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/8c363905-65c5-4c95-b178-acc30ca736ca%40googlegroups.com.