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
@ExportedBean public abstract class PromotionBadge extends Object
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 Constructor Description PromotionBadge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildEnvVars(AbstractBuild<?,?> build, EnvVars env)
Called byStatus
to allow promotion badges to contribute environment variables.
-
-
-
Method Detail
-
buildEnvVars
public void buildEnvVars(AbstractBuild<?,?> build, EnvVars env)
Called byStatus
to allow promotion badges to contribute environment variables.- Parameters:
build
- The calling build. Never null.env
- Environment variables should be added to this map.
-
-