Class BitBucketPayload

java.lang.Object
hudson.model.CauseAction
com.cloudbees.jenkins.plugins.BitBucketPayload
All Implemented Interfaces:
Action, EnvironmentContributingAction, ModelObject, FoldableAction, RunAction2

public class BitBucketPayload extends CauseAction implements EnvironmentContributingAction
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