github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/testdata/steps/example16.yaml (about)

     1  # Example using variables to configure and run two pipes
     2  
     3  pipelines:
     4    default:
     5      - step:
     6          name: Alert everyone!
     7          script:
     8            - pipe: atlassian/opsgenie-send-alert:latest
     9              name: Send alert to Opsgenie
    10              variables:
    11                GENIE_KEY: $GENIE_KEY
    12                MESSAGE: 'Wake up!'
    13            - pipe: atlassian/slack-notify:latest
    14              name: Send alert to Slack
    15              variables:
    16                WEBHOOK_URL: $SLACK_WEBHOOK
    17                PRETEXT: 'Alert Everyone!'
    18                MESSAGE: 'We have a problem!'