flag

CloudBees platform

A conditional statement around code, which manages feature release in an application. If a feature flag is toggled on, code within the conditional statement is skipped and the feature is disabled. Otherwise, the conditionals are commented out, and the code within the conditionals runs as usual, exposing the feature to users.

A flag can be one of three types:

  • Boolean

  • Number

  • String