Cloud customer?
Start for Free >
Upgrade in MyJFrog >
What's New in Cloud >

Search





The PagerDuty Events integration is used to connect JFrog Pipelines platform to PagerDuty for notifying events.


Creating an Integration

You can add this integration by following steps on the Managing Pipelines Integrations page.

Here is the information you need to create an PagerDuty Events integration:

Page Contents

Usage

The PagerDuty integration can be used in the send_notification utility function.

Default Environment Variables

When you add this integration directly to a step, a set of environment variables is automatically made available.

Environment variable

Description

int_<integration-name>_tokenThe integration key that identifies your PagerDuty service

Example

  • This example uses a PagerDuty integration named myPagerDuty.
  • The send_notification utility function is used to send an onExecute notification.
  • The YAML for this example is available in this repository in the JFrog GitHub account.
Sending notifications
pipelines:
  - name: pipeline_pd
    steps:
      - name: bash_pagerduty_success
        type: Bash
        configuration:
          integrations:
            - name: myPagerDuty
        execution:
          onStart:
            - echo "starting"
          onExecute:
            - send_notification myPagerDuty -text "hello world from JFrog Pipelines run number $run_number"
  • No labels
Copyright © 2021 JFrog Ltd.