public abstract class DeclarativeAgent extends hudson.model.AbstractDescribableImpl<DeclarativeAgent> implements Serializable, hudson.ExtensionPoint
DeclarativeAgentDescriptor - pluggable agent backends for Declarative Pipelines.| Constructor and Description |
|---|
DeclarativeAgent() |
| Modifier and Type | Method and Description |
|---|---|
DeclarativeAgentDescriptor |
getDescriptor() |
DeclarativeAgentScript |
getScript(org.jenkinsci.plugins.workflow.cps.CpsScript cpsScript)
ONLY TO BE RUN FROM WITHIN A CPS THREAD.
|
public DeclarativeAgentScript getScript(org.jenkinsci.plugins.workflow.cps.CpsScript cpsScript) throws Exception
Exception - if the script source cannot be loaded or we're called from outside a CpsThread.public DeclarativeAgentDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<DeclarativeAgent>getDescriptor in class hudson.model.AbstractDescribableImpl<DeclarativeAgent>Copyright © 2016. All rights reserved.