New Relic with YAML

YAML parameters for New Relic

NameTypeDescription
application_id
Required
StringThe ID of the Newrelic application.
integration_id
Required
IntegerThe ID of the integration.
name
Required
StringThe name of the action.
trigger_time
Required
StringSpecifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
type
Required
StringThe type of the action. Should be set to NEW_RELIC.
description
Required
StringThe title of the notification.
region
Required
StringThe New Relic region. Can be either US or EU.
device_name
Required
StringThe name of the application.
changelogStringThe content of the notification.
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 New Relic

actions:
- action: "NEWRELIC Action"
type: "NEW_RELIC"
description": "${execution.pipeline.name} execution #${execution.id}"
changelog": "change log"
application_id": "65867123"
integration_id: 1