Class NoteBuildAction

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

public class NoteBuildAction extends Object implements WebHookAction
Author:
Nikolay Ustinov
  • Constructor Details

    • NoteBuildAction

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

      public NoteBuildAction(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(org.kohsuke.stapler.StaplerResponse2 response)
      Specified by:
      execute in interface WebHookAction