
突然发现jenkins无法每天自动运行了,控制台输出:
[Errno 1] Operation not permitted Build step 'Execute shell' marked build as failure
然后在网上是了很多办法,都没有奏效。
后来分析了许久,应该是由于macOS更新后引起的错误。 在网上搜索了相关办法: Operation not permitted , 那么需要做如下操作(Max OS X El 中增加了rootless功能)。 重启系统。 按住Command + R进入恢复模式, 在菜单中打开终端。 输入:csrutil disable 然后重启 再次执行,ok