Hello,
package com.mycompany;
> import org.jenkinsci.plugins.workflow.libs.*;
>
> this.metaClass.mixin(ResourceStep)
> def read(fileName) {
> return libraryResource(fileName)
> }
>
> return this
>
>
I have the above LibraryResource.groovy file that basically just delegates
to the libraryResource() pipeline step from the Jenkins Pipeline steps. I
can't find a way to compile it unfortunately.
I probably need to import the right class first and then mixin that class
into the above LibraryResource class I wrote???
Any help is welcome :)
--
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/8d0bf5dd-0461-47f7-9eb9-b10fc7c0ba49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.