Hello,
I have searched through the entire email group and did not find an answer on my question.
I would like to use “External Resource Dispatcher plugin” in my workflow test job. The idea is to connect several devices to Jenkins slaves, configure the corresponding resources in the nodes that match to the slaves, and use the resources in the workflow test job.
According to the “External Resource Dispatcher plugin” description, I can obtain the plugin’s extension and lock a resource using the following code:
def manager = extension.'externalresource-dispatcher'
manager.lock(...)
But Workflow component does not understand the code. How can I obtain a plugin’s extension from Workflow Groovy CPS DSL script?
Thank you,
Mikhail
Plugins must be aware of the workflow plugin and implement some code for it.