Class MergeRequestBuildAction

java.lang.Object
com.dabsquared.gitlabjenkins.webhook.build.MergeRequestBuildAction
All Implemented Interfaces:
WebHookAction

public class MergeRequestBuildAction extends Object
Author:
Robin Müller
  • Constructor Details

    • MergeRequestBuildAction

      public MergeRequestBuildAction(Item project, String json, String secretToken)
    • MergeRequestBuildAction

      public MergeRequestBuildAction(Item project, com.fasterxml.jackson.databind.JsonNode json, String secretToken)
      Alternative Constructor which takes in an already deserialized Json Tree.
      Parameters:
      project - Jenkins Project Item
      json - Payload Json Tree
      secretToken - Secret Token
  • Method Details

    • execute

      public void execute()
    • execute

      public final void execute(org.kohsuke.stapler.StaplerResponse2 response)
      Specified by:
      execute in interface WebHookAction