Create a new git repository or use an existing repository to save a new file
pipeline.yaml
Create a new Pipelines integration for your SCM provider. Visit the official documentation.
Create a new pipeline YAML definition that uses the new PagerDuty Events integration above to send build notifications to PagerDuty.
Replace
<MyPagerDutyIntegration>
with the name of the Pipelines integration for Pagerduty
resources: - name: pagerDutyGitRepo type: GitRepo configuration: gitProvider: MyGithubIntegration path: jfrog/jfrog-pipelines-example pipelines: - name: pipeline_pagerduty_example steps: - name: pagerduty_example_step type: Bash configuration: integrations: - name: <MyPagerDutyIntegration> inputResources: - name: pagerDutyGitRepo execution: onExecute: - send_notification <MyPagerDutyIntegration> --text "<Your message>"
Commit the pipeline yaml to your SCM provider and then follow the official steps on adding a pipeline.