更新时间:2023-01-15 07:45:22
在linux中,例如ubuntu,您可以将用户jenkins添加到根组:
In linux, e.g. ubuntu, you can add user jenkins to the root group:
sudo usermod -a -G root jenkins
然后重新启动詹金斯:
sudo service jenkins restart
请注意,将jenkins用户添加到root用户组可能会使用户过于强大,请谨慎使用
Be aware that, adding jenkins user to root group can make the user too powerful, use with caution