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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildEnvVars
(AbstractBuild<?, ?> build, EnvVars env) Called byStatus
to allow promotion badges to contribute environment variables.
-
Constructor Details
-
PromotionBadge
public PromotionBadge()
-
-
Method Details
-
buildEnvVars
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.
-