gitlab---runner
gitlab-runner register
--non-interactive
--executor "shell"
--url "http://10.72.42.125/"
--registration-token "c64FE96owg3_MjBg4Z-X"
--description "devops-runner"
--tag-list "devrunner,uatrunner"
--run-untagged="true"
--locked="false"
--access-level="not_protected"
`stages:
- build
- deploy
build:
stage: build
tags:
- build
only:
- master
script:
- echo "mvn clean"
- echo "mvn install"
deploy:
stage: deploy
tags:
- deploy
only:
- master
script:
- echo "hello deploy"`