Package io.jenkins.plugins.cdevents
Class BuildCDEvent
- java.lang.Object
-
- io.jenkins.plugins.cdevents.BuildCDEvent
-
public class BuildCDEvent extends Object
-
-
Constructor Summary
Constructors Constructor Description BuildCDEvent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.cloudevents.CloudEvent
buildPipelineRunFinishedModel(Run run, TaskListener listener)
static io.cloudevents.CloudEvent
buildPipelineRunQueuedModel(Queue.WaitingItem item)
static io.cloudevents.CloudEvent
buildPipelineRunStartedModel(Run run, TaskListener listener)
static io.cloudevents.CloudEvent
buildTaskRunFinishedModel(Run run, org.jenkinsci.plugins.workflow.graph.FlowNode node)
static io.cloudevents.CloudEvent
buildTaskRunStartedModel(Run run, org.jenkinsci.plugins.workflow.graph.FlowNode node)
-
-
-
Method Detail
-
buildPipelineRunStartedModel
public static io.cloudevents.CloudEvent buildPipelineRunStartedModel(Run run, TaskListener listener) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
buildPipelineRunFinishedModel
public static io.cloudevents.CloudEvent buildPipelineRunFinishedModel(Run run, TaskListener listener) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
buildPipelineRunQueuedModel
public static io.cloudevents.CloudEvent buildPipelineRunQueuedModel(Queue.WaitingItem item)
-
buildTaskRunStartedModel
public static io.cloudevents.CloudEvent buildTaskRunStartedModel(Run run, org.jenkinsci.plugins.workflow.graph.FlowNode node)
-
buildTaskRunFinishedModel
public static io.cloudevents.CloudEvent buildTaskRunFinishedModel(Run run, org.jenkinsci.plugins.workflow.graph.FlowNode node)
-
-