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

     1  # Example using the script and pipe properties to run a pipe
     2  
     3  pipelines:
     4    default:
     5      - step:
     6          name: Alert Opsgenie
     7          script:
     8            - echo "Sending an alert through Opsgenie"
     9            - pipe: atlassian/opsgenie-send-alert:latest
    10              variables:
    11                GENIE_KEY: $GENIE_KEY
    12                MESSAGE: "Danger, Will Robinson!"
    13                DESCRIPTION: "An Opsgenie alert sent from Bitbucket Pipelines"
    14                SOURCE: "Bitbucket Pipelines"
    15                PRIORITY: "P1"