Package hudson.plugins.promoted_builds
Class PromotionBadge
java.lang.Object
hudson.plugins.promoted_builds.PromotionBadge
- Direct Known Subclasses:
DownstreamPassCondition.Badge,GroovyCondition.Badge,ManualCondition.Badge,ManualPromotionBadge,ParameterizedSelfPromotionBadge,SelfPromotionBadge,UpstreamPromotionCondition.Badge
Captures the information about how/when the promotion criteria is satisfied.
This information is used by humans to make sense out of what happened.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvVars(AbstractBuild<?, ?> build, EnvVars env) Called byStatusto allow promotion badges to contribute environment variables.
-
Constructor Details
-
PromotionBadge
public PromotionBadge()
-
-
Method Details
-
buildEnvVars
Called byStatusto allow promotion badges to contribute environment variables.- Parameters:
build- The calling build. Never null.env- Environment variables should be added to this map.
-