I'm wondering if there is a way to do:
```yaml
definitions:
scripts:
- script: &echo_script
- echo ${MESSAGE}
pipelines:
default:
- step: &my_step1
name: Test1
local_variables:
- MESSAGE="I want my bitbucket-pipelines.yaml to Don't-Repeat-Yourself (DRY)"
script:
<<: *echo_script
- step: &my_step2
name: Test2
local_variables:
- MESSAGE="This would allow me to do this"
script:
<<: *echo_script
```
Expected output for a run is:```
Test1 : "I want my bitbucket-pipelines.yaml to Don't-Repeat-Yourself (DRY)"
Test2 : "This would allow me to do this"
```
Thanks