Mac OS : https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v1.10.6/binaries/gitlab-ci-multi-runner-darwin-amd64 CentOS : https://packages.gitlab.com/runner/gitlab-ci-multi-runner/packages/el/6/gitlab-ci-multi-runner-1.10.6-1.x86_64.rpm yum install gitlab-runner-xxx.rpm
在項目管理頁面,將Gitlab CI插件支持啓動後,會有配置頁面。同時在runner的機器上註冊(register)並運行runnergit
gitlab-runner register # 檢查項目的CI配置頁面,得到鏈接的url和token信息
MyPackageJob: script: "mvn package -U"