Yes, that is the pipeline step implementation, then
https://github.com/jenkinsci/junit-plugin/blob/master/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java
is
the implementation of the free style step (a Recorder).

On Mon, Oct 7, 2019 at 10:35 AM Matthias <[email protected]> wrote:

> Do you mean
> https://github.com/jenkinsci/junit-plugin/tree/master/src/main/java/hudson/tasks/junit/pipeline
> ?
> I compared it to my implementation and its structure looks similar to what
> I described above.
>
> Am Montag, 7. Oktober 2019 18:57:34 UTC+2 schrieb slide:
>>
>> 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/fda513af-0c0e-4979-b1cd-10f39cb29e1a%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/fda513af-0c0e-4979-b1cd-10f39cb29e1a%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/CAPiUgVcnduOBTiZ9gBHXOFAm_XSvu5qB%2BAKK8vSGq9gMyEqvJQ%40mail.gmail.com.

Reply via email to