github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/testdata/steps/example8.yaml (about) 1 # Example using name to label a stage, a pipe, and two steps 2 3 pipelines: 4 default: 5 - stage: 6 name: Build and test 7 steps: 8 - step: 9 name: Build app 10 script: 11 - sh ./build-app.sh 12 - step: 13 name: Run unit tests 14 script: 15 - sh ./run-tests.sh 16 - step: 17 script: 18 - pipe: atlassian/slack-notify:latest 19 name: Send a message to Slack 20 variables: 21 WEBHOOK_URL: $SLACK_WEBHOOK 22 PRETEXT: 'Hello, Slack!' 23 MESSAGE: 'Hello, Slack!!'