Class PipelineExtension
java.lang.Object
io.jenkins.plugins.mcp.server.extensions.PipelineExtension
- All Implemented Interfaces:
ExtensionPoint,McpServerExtension
@OptionalExtension(requirePlugins={"workflow-job","workflow-cps"})
public class PipelineExtension
extends Object
implements McpServerExtension
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jenkins.plugins.mcp.server.McpServerExtension
getSyncPrompts, getSyncResources, getSyncTools
-
Constructor Details
-
PipelineExtension
public PipelineExtension()
-
-
Method Details
-
createPipeline
@Tool(description="Create a new Jenkins pipeline job with the provided script", annotations=) public String createPipeline(@ToolParam(description="Name (or full path) of the pipeline to create") String jobName, @ToolParam(description="The Jenkins Declarative or Scripted Pipeline script") String pipelineScript)
-