stages:
- build
- test
- publish
- deploy
- deploy-notify
build:
stage: build
script:
- echo 'installing node_modul'
only:
- master
test-cover:
stage: test
script:
- echo 'test-cover'
test-v:
stage: test
script:
- echo 'test-v'
publish:
stage: publish
script:
- echo 'publish product websit'
deploy:
stage: deploy
script:
- echo 'deploy product websit'
dingding:
stage: deploy-notify
script:
- echo 'deploy-notify product websit dingding'
以上的流水线配置执行效果是如此