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

     1  {
     2      "pipelines": {
     3          "default": [
     4              {
     5                  "step": {
     6                      "name": "Alert everyone!",
     7                      "script": [
     8                          {
     9                              "pipe": "atlassian/opsgenie-send-alert:latest",
    10                              "name": "Send alert to Opsgenie",
    11                              "variables": {
    12                                  "GENIE_KEY": "$GENIE_KEY",
    13                                  "MESSAGE": "Wake up!"
    14                              }
    15                          },
    16                          {
    17                              "pipe": "atlassian/slack-notify:latest",
    18                              "name": "Send alert to Slack",
    19                              "variables": {
    20                                  "WEBHOOK_URL": "$SLACK_WEBHOOK",
    21                                  "PRETEXT": "Alert Everyone!",
    22                                  "MESSAGE": "We have a problem!"
    23                              }
    24                          }
    25                      ]
    26                  }
    27              }
    28          ]
    29      }
    30  }