Package com.cloudbees.jenkins.plugins
Class BitBucketPayload
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- com.cloudbees.jenkins.plugins.BitBucketPayload
-
- All Implemented Interfaces:
Action
,EnvironmentContributingAction
,ModelObject
public class BitBucketPayload extends InvisibleAction implements EnvironmentContributingAction
Inject the payload received by BitBucket into the build through $BITBUCKET_PAYLOAD so it can be processed- Since:
- January 9, 2016
- Version:
- 1.1.5
-
-
Constructor Summary
Constructors Constructor Description BitBucketPayload(String payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildEnvironment(Run<?,?> run, EnvVars env)
String
getPayload()
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from interface hudson.model.EnvironmentContributingAction
buildEnvVars
-
-
-
-
Constructor Detail
-
BitBucketPayload
public BitBucketPayload(@Nonnull String payload)
-
-
Method Detail
-
getPayload
@Nonnull public String getPayload()
-
buildEnvironment
public void buildEnvironment(@NonNull Run<?,?> run, @NonNull EnvVars env)
- Specified by:
buildEnvironment
in interfaceEnvironmentContributingAction
-
-