Class ManualCondition.Badge
java.lang.Object
hudson.plugins.promoted_builds.PromotionBadge
hudson.plugins.promoted_builds.conditions.ManualCondition.Badge
- Enclosing class:
- ManualCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildEnvVars
(AbstractBuild<?, ?> build, EnvVars env) Called byStatus
to allow promotion badges to contribute environment variables.Gets ID of the user, who has promoted the build.Gets name of the user, who has promoted the build.
-
Field Details
-
authenticationName
-
-
Constructor Details
-
Badge
-
-
Method Details
-
getUserName
Gets name of the user, who has promoted the build.- Returns:
- User name or
ManualCondition.MISSING_USER_ID_DISPLAY_STRING
if the user cannot be determined
-
getUserId
Gets ID of the user, who has promoted the build.- Returns:
- User id or
ManualCondition.MISSING_USER_ID_DISPLAY_STRING
if the user cannot be determined
-
getParameterValues
-
buildEnvVars
Description copied from class:PromotionBadge
Called byStatus
to allow promotion badges to contribute environment variables.- Overrides:
buildEnvVars
in classPromotionBadge
- Parameters:
build
- The calling build. Never null.env
- Environment variables should be added to this map.
-