Class DefaultMcpServer.MCPCause

java.lang.Object
hudson.model.Cause
io.jenkins.plugins.mcp.server.extensions.DefaultMcpServer.MCPCause
Enclosing class:
DefaultMcpServer

public static class DefaultMcpServer.MCPCause extends Cause
A Cause that indicates a Jenkins build was triggered via MCP call.

This is useful for the end user to understand that the call was trigger through this plugin's code and not some manual user intervention.

And among others, it allows plugins like ... to offer custom badges

See Also:
  • Constructor Details

    • MCPCause

      public MCPCause()
  • Method Details