我使用以下脚本启动了gitlabRunner:
gitlab-runner register --tls-ca-file="$GIT_CERTIFICATE_DIR" \
--non-interactive \
--url "https://${GIT_SERVER}/" \
--registration-token "${GIT_RUNNER_TOKEN}" \
--description "ionic gitlab runner" \
--executor "shell" \
--tag-list android,ios \
gitlab-runner install
gitlab-runner start
gitlab-runner run
作业执行时,出现以下错误:
Running with gitlab-runner 11.10.1 (1f513601)
on ionic gitlab runner xmq8zWSZ
Using Shell executor...
Running on DEMU-MAC01.local...
mkdir: /Users/s.dutta/Workspace/builds/xmq8zWSZ/0/xx/yy-app.tmp: Permission denied
mkdir: /Users/s.dutta/Workspace/builds/xmq8zWSZ/0/xx/yy-app.tmp: Permission denied
ERROR: Job failed: exit status 1