Class PipelineBuildAction
java.lang.Object
com.dabsquared.gitlabjenkins.webhook.build.PipelineBuildAction
- All Implemented Interfaces:
WebHookAction
- Author:
- Milena Zachow
-
Constructor Summary
ConstructorDescriptionPipelineBuildAction
(Item project, com.fasterxml.jackson.databind.JsonNode json, String secretToken) Alternative Constructor which takes in an already deserialized Json Tree.PipelineBuildAction
(Item project, String json, String secretToken) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
execute
(org.kohsuke.stapler.StaplerResponse2 response)
-
Constructor Details
-
PipelineBuildAction
-
PipelineBuildAction
public PipelineBuildAction(Item project, com.fasterxml.jackson.databind.JsonNode json, String secretToken) Alternative Constructor which takes in an already deserialized Json Tree.- Parameters:
project
- Jenkins Project Itemjson
- Payload Json TreesecretToken
- Secret Token
-
-
Method Details
-
execute
public final void execute(org.kohsuke.stapler.StaplerResponse2 response) - Specified by:
execute
in interfaceWebHookAction
-