No, this scenario is not currently supported.

On Tue, Jun 9, 2020 at 9:46 AM Mario Jauvin <[email protected]> wrote:

> I am trying to use groovy classes found in the pipeline shared library
> (using @Library annotation on jenkinsfile) inside the presendScript string
> supplied to the emailext pipeline step.  These classes come from the src
> folder of the shared library (not the vars folder).  I get
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed:
> Script1.groovy: 1: unable to resolve class com.company.MyGroovyClass
>  @ line 1, column 1.
>    import com.company.MyGroovyClass;
>
> Can this be done.  Remember, I do not have access to adding to the
> freestyle configuration for the editable email notification to add
> something to the class path.  Any help much appreciated.
>
> Mario
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/60aa9cc6-2ed1-4092-bb81-cfd42f40d377o%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/60aa9cc6-2ed1-4092-bb81-cfd42f40d377o%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 Users" 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-users/CAPiUgVf06ReHnMFOhgd%2Bb1t-_5cdSdrtBEsOZOYpBB5cdBJpOg%40mail.gmail.com.

Reply via email to