为了账号安全,请及时绑定邮箱和手机立即绑定

gitlab-runner在执行job时出现错误提示

gitlab-runner在执行job时出现错误提示

慕容3067478 2018-08-17 14:13:33
跑 gitlab-runner 的系统是 ubuntu 16.04 ,gitlab-runner 的版本是 10.7.2 ,执行 job 时的错误提示如下:Using Shell executor... mesg: ttyname failed: Inappropriate ioctl for device ... Skipping Git submodules setup mesg: ttyname failed: Inappropriate ioctl for device mesg: ttyname failed: Inappropriate ioctl for device mesg: ttyname failed: Inappropriate ioctl for device .... $ sudo chown -R gitlab-runner:gitlab-runner . mesg: ttyname failed: Inappropriate ioctl for device mesg: ttyname failed: Inappropriate ioctl for device mesg: ttyname failed: Inappropriate ioctl for device该错误时未影响 job 的正常执行。请问如何消除这个错误提示?
查看完整描述

1 回答

?
倚天杖

TA贡献1828条经验 获得超3个赞

将 /root/.profile 中的 mesg n || true 改为 tty -s && mesg n

查看完整回答
反对 回复 2018-09-03
  • 1 回答
  • 0 关注
  • 3230 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号