简体   繁体   English

从詹金斯运行时权限被拒绝错误

[英]Permission denied error while running from jenkins

Hey I'm to run my script on locally -嘿,我要在本地运行我的脚本-

I can run the script from my python virtual environment我可以从我的 python 虚拟环境中运行脚本

cd /home/hhh/src/d_platform && /home/hhh/venvs/bdp/bin/python -m test.test1.test12

I tried to run the same from jenkins我试图从詹金斯运行同样的

Its giving the following error它给出以下错误

context.load_verify_locations(ca_certs)
PermissionError: [Errno 13] Permission denied

it seems like a permission issue from Jenkins instance.这似乎是 Jenkins 实例的权限问题。

Have you tried to follow the steps describe from the user "Technext" here您是否尝试按照此处用户“Technext”描述的步骤进行操作

Furthermore, going referring to other case here that user "Ian Marks"此外,在这里参考用户“Ian Marks”的其他案例

Following the cases described above it should work, hope this can be useful for your situation.按照上述情况,它应该可以工作,希望这对您的情况有用。

仅供参考,第二个链接(Ian Marks)不起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM