为什么我在Travis CI Build for Rebar上拒绝拒绝允许?
我在Travis CI上运行了一个构建,并获得了允许的拒绝错误:
$ source $ {travis_home}/otp/23.0/activate 3.01s $ ./rebar Get-deps/home/travis/.travis/functions:355:./rebar:许可拒绝命令“ eval ./ rebar get-deps” 失败的。重试,第2个中的2个。/home/travis/.travis/functions:355行: ./ rebar:权限拒绝命令“ eval ./rebar get-deps” 失败的。重试,3中的3个。/home/travis/.travis/functions:355行: ./rebar:权限拒绝命令“ eval ./rebar get-deps”失败 3次。命令“ ./rebar get-deps”失败并以126的 期间 。您的构建已停止。
我不明白为什么我会收到此错误消息。我使用。项目用作基础。如您所见,我的。 a>是一样的。有人可以解释为什么会发生这种情况以及如何解决吗?
I ran a build, on Travis CI and got a permission denied error:
$ source ${TRAVIS_HOME}/otp/23.0/activate
3.01s$ ./rebar get-deps /home/travis/.travis/functions: line 355: ./rebar: Permission denied The command "eval ./rebar get-deps "
failed. Retrying, 2 of 3. /home/travis/.travis/functions: line 355:
./rebar: Permission denied The command "eval ./rebar get-deps "
failed. Retrying, 3 of 3. /home/travis/.travis/functions: line 355:
./rebar: Permission denied The command "eval ./rebar get-deps " failed
3 times. The command "./rebar get-deps" failed and exited with 126
during . Your build has been stopped.
I don't understand why I am getting this error message. I used the .travis.yml from the nitrogen framework which my project uses as a base. As you can see my .travis.yml is the same. Can someone please explain why this is happening and how to fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
OS路径写入权限问题似乎。它与
eval./rebar Get-Deps
失败有关。您可以通过运行./ rebar get-deps
来调试问题,并查找程序要使用的路径,然后正确设置路径许可或可能是已经存在的路径。或
RM -RF DEPS
可能会有所帮助。它可能与
rebar
应用程序有关,使用CHMOD 700 rebar
解决问题。以下是.travis.yml和makefile,它显示它使用本地
./ rebar
文件。您可以将makefile更改为全局rebar
文件。我认为您可以分支您自己的
nitrgeon
nitrgeon < /代码>存储库,然后使用它,然后可以根据需要编辑代码。
此外,
nitregon
尝试运行下载程序(rebar),您的travis
认为此操作对于运行不可控制的代码是危险的,因为它会将您的服务器崩溃为病毒。在PC中测试
travis.ci
,然后将其测试到生产系统中。It seem the OS path write permission problem. It is related to
eval ./rebar get-deps
failed. You can debug the problem by running./rebar get-deps
by yourself and find which path the program want to use, then set the path permission correctly or may be the path already exists.Or
rm -Rf deps
may be helpful.It may be related to
rebar
application, usechmod 700 rebar
to solve the problem.The followings are .travis.yml and Makefile, it show it use local
./rebar
file. you can change Makefile to globalrebar
file.I think you can branch your own
nitrgeon
repository, and use it then you can edit code as you like.In addition,
nitregon
try to run the download program(rebar), yourtravis
think this action is dangerous for running uncontrollable code as it will crash your server as virus.Test the
travis.ci
in your pc then test it into production system.