github.com/jxskiss/gopkg/v2@v2.14.9-0.20240514120614-899f3e7952b4/easy/yamlx/testdata/normal.yaml (about) 1 definitions: 2 steps: 3 - step: &build-test 4 name: Build and test 5 script: 6 - mvn package 7 artifacts: 8 - target/** 9 - step: &deploy 10 name: Deploy 11 deployment: test 12 script: 13 - ./deploy.sh target/my-app.jar 14 15 pipelines: 16 branches: 17 develop: 18 - step: *build-test 19 - step: *deploy 20 main: 21 - step: *build-test 22 - step: 23 <<: *deploy 24 deployment: production 25 trigger: manual