Class PipelineMetadataService
java.lang.Object
io.blueocean.rest.pipeline.editor.PipelineMetadataService
- All Implemented Interfaces:
ExtensionPoint
,io.jenkins.blueocean.rest.ApiRoutable
,io.jenkins.blueocean.Routable
@Extension
public class PipelineMetadataService
extends Object
implements io.jenkins.blueocean.rest.ApiRoutable
This provides and Blueocean REST API endpoint to obtain pipeline step metadata.
TODO: this should be provided off of the organization endpoint:
e.g. /organization/:id/pipeline-metadata
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFunction to return allDeclarativeAgent
s present in the system when accessed through the REST APIFunction to return the names of all build conditions present in the system when accessed through the REST APIFunction to return all step descriptors present in the system when accessed through the REST APIFunction to return allExportedToolDescriptor
s present in the system when accessed through the REST API, pipeline scripts need: symbol and name to specify toolsFunction to return all applicable step descriptors for the "wrappers" section.
-
Constructor Details
-
PipelineMetadataService
public PipelineMetadataService()
-
-
Method Details
-
getUrlName
- Specified by:
getUrlName
in interfaceio.jenkins.blueocean.rest.ApiRoutable
- Specified by:
getUrlName
in interfaceio.jenkins.blueocean.Routable
-
doCrumbInfo
-
doAgentMetadata
Function to return allDeclarativeAgent
s present in the system when accessed through the REST API -
doToolMetadata
Function to return allExportedToolDescriptor
s present in the system when accessed through the REST API, pipeline scripts need: symbol and name to specify tools -
doBuildConditions
Function to return the names of all build conditions present in the system when accessed through the REST API -
doWrapperMetadata
Function to return all applicable step descriptors for the "wrappers" section. -
doPipelineStepMetadata
Function to return all step descriptors present in the system when accessed through the REST API
-