跳到主要内容

Rollbar with YAML

List of YAML parameters and examples for the "Rollbar" action

YAML parameters for Rollbar

名称类型描述
action
必填
String操作名称
type
必填
StringThe type of the action. Should be set to ROLLBAR.
token
必填
StringThe post_server_item-scope project access token.
application_id
必填
IntegerThe ID of the Rollbar application.
application_name
必填
StringThe name of the application.
environment
必填
StringThe name of the environment being deployed.
integration_hash
必填
StringThe ID of the integration.
user
必填
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.

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_hash: "5ddb7c180fb38be67bd78a88a"