Class BitBucketPayload
java.lang.Object
hudson.model.InvisibleAction
com.cloudbees.jenkins.plugins.BitBucketPayload
- All Implemented Interfaces:
Action, EnvironmentContributingAction, ModelObject, FoldableAction
public class BitBucketPayload
extends InvisibleAction
implements FoldableAction, EnvironmentContributingAction
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 18, 2026
- Version:
- 1.1.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddData(List<BitBucketPayload> newData) voidbuildEnvironment(Run<?, ?> run, EnvVars env) voidfoldIntoExisting(Queue.Item item, Queue.Task owner, List<Action> otherActions) Methods inherited from class InvisibleAction
getDisplayName, getIconFileName, getUrlNameMethods 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
-
BitBucketPayload
-
-
Method Details
-
addData
-
getIndependentActions
-
foldIntoExisting
- Specified by:
foldIntoExistingin interfaceFoldableAction
-
getPayload
-
buildEnvironment
- Specified by:
buildEnvironmentin interfaceEnvironmentContributingAction
-