Package com.cloudbees.jenkins.plugins
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
The class implements FoldableAction (through CauseAction) to support payload capture when multiple repositories
trigger the job at nearly same time when the job has concurrent builds disabled and quiet period zero.
Jenkins Queue class works in such a way that in such a case it allows one build into the queue and ignores the others as "duplicates",
but it attaches the FoldableAction of the ignored builds into the action list of the first scheduled build.
This way we guarantee that every single event does not get lost and its payload is merged with the summary payload.
- Since:
- September 15, 2026
- Version:
- 1.1.6
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.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 hudson.model.CauseAction
findCause, getCauseCounts, getCauses, getDisplayName, getIconFileName, getShortDescription, getUrlName, onAttached, onLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlNameMethods inherited from interface hudson.model.EnvironmentContributingAction
buildEnvVars
-
Constructor Details
-
BitBucketPayload
-
-
Method Details
-
foldIntoExisting
- Specified by:
foldIntoExistingin interfaceFoldableAction- Overrides:
foldIntoExistingin classCauseAction
-
getPayload
-
buildEnvironment
- Specified by:
buildEnvironmentin interfaceEnvironmentContributingAction
-