Class BitBucketPayload
java.lang.Object
hudson.model.CauseAction
com.cloudbees.jenkins.plugins.BitBucketPayload
- All Implemented Interfaces:
Action, EnvironmentContributingAction, ModelObject, FoldableAction, RunAction2
Inject the payload received by BitBucket into the build through $BITBUCKET_PAYLOAD so it can be processed
Concatenate payloads of BitBucket webhooks ignored by Jenkins within quiet period into $BITBUCKET_PAYLOADS
The class extends FoldableAction to support payload capture when multiple webhooks
trigger the job at nearly same time when concurrent builds are disabled. In this case Jenkins Queue
schedules only one build (within quiet period) and ignores the others as "duplicates", but their
FoldableAction are appended into the action list of the first scheduled build, so no one webhook gets lost.
- Since:
- September 22, 2026
- Version:
- 1.1.6
-
Nested Class Summary
Nested classes/interfaces inherited from class CauseAction
CauseAction.ConverterImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvironment(Run<?, ?> run, EnvVars env) voidfoldIntoExisting(Queue.Item item, Queue.Task owner, List<Action> otherActions) Methods inherited from class CauseAction
findCause, getCauseCounts, getCauses, getDisplayName, getIconFileName, getShortDescription, getUrlName, onAttached, onLoadMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Action
getDisplayName, getIconFileName, getUrlNameMethods inherited from interface EnvironmentContributingAction
buildEnvVars
-
Constructor Details
-
BitBucketPayload
-
-
Method Details
-
foldIntoExisting
- Specified by:
foldIntoExistingin interfaceFoldableAction- Overrides:
foldIntoExistingin classCauseAction
-
getPayload
-
buildEnvironment
- Specified by:
buildEnvironmentin interfaceEnvironmentContributingAction
-