Rollbar with YAML

YAML parameters for Rollbar

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to ROLLBAR.
token
Required
StringThe post_server_item-scope project access token.
application_id
Required
IntegerThe ID of the Rollbar application.
application_name
Required
StringThe name of the application.
environment
Required
StringThe name of the environment being deployed.
integration_id
Required
IntegerThe ID of the integration.
user
Required
StringThe local Username who deployed.
token_nameStringThe name of the project access token.
rollbar_usernameStringThe Rollbar username of the user who deployed.
commentStringThe additional text data to record with this deploy.
run_only_on_first_failureBooleanDefines whether the action should be executed on each failure. Restricted to and required if the trigger_time is ON_FAILURE.
trigger_conditionStringDefines when the build action should be run. Can be one of ALWAYS, ON_CHANGE, ON_CHANGE_AT_PATH, VAR_IS, VAR_IS_NOT or VAR_CONTAINS.
trigger_condition_pathsString[]Required when trigger_condition is set to ON_CHANGE_AT_PATH.
trigger_variable_keyStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the name of the desired variable.
trigger_variable_valueStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the value of the desired variable which will be compared with its current value.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for Rollbar

actions:
- action: "Rollbar Action"
type: "ROLLBAR"
user: "mike"
rollbar_username: "MikeB"
application_id: "123456"
application_name: "Buddy-Works"
environment: "linux"
comment: "Deploy comment"
token: "secure!43ae0b4fda9641d7862f7f9f84a0ca54"
token_name: "$post_server_item"
integration_id: 1