限制他人在JENKINS中建立特定工作 [英] Restricting others to build the particular job in JENKINS

查看:42
本文介绍了限制他人在JENKINS中建立特定工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是jenkins的新手,我有一个名为 RetailcloudSolution_automation_cms2_prod 的项目,但是我只是想限制其他人的工作,所以不做该构建,但是其他人可以看到,只是不应该为了安全问题而碰到该Build而且我只希望三个人现在和将来都可以完成此工作,无论如何,我是否可以仅针对这个特定的工作来完成此工作...?我可以知道执行此操作的步骤吗?它不会在全球范围内产生影响,我只需要基于项目的限制即可.

I am new to jenkins and I have a Project named RetailcloudSolution_automation_cms2_prod but I just want to restrict this job by others doesnt do the build , but others can see , just shouldnt hit the Build for security issue and I want only three people to Build this job for now and also for the future use, Is there anyway I can do this for just this particular JOB...? Can i know the steps to do it..? It should not affect globally, I need restriction just for project based..

谢谢

推荐答案

我强烈建议您使用jenkins中的角色策略插件"来管理用户.使用此插件,您可以根据项目管理用户换句话说,您可以确保项目或作业不能由其他用户运行.

I strongly suggest you to use the Role Strategy Plugin in jenkins to manage the Users. With this plugin you manage users based on projects In other words you can make sure that project or job is not runnable by other users.

请参阅此链接,以更好地理解和配置插件. https://wiki.jenkins-ci.org/display/JENKINS/角色+策略+插件

Refer this link for better understanding and plugin configuration. https://wiki.jenkins-ci.org/display/JENKINS/Role+Strategy+Plugin

这篇关于限制他人在JENKINS中建立特定工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆