Azure DevOps - Custom Build Task Visibility

岁酱吖の 提交于 2019-12-10 18:28:48

问题


I'm learning Azure DevOps. I'm interested in creating a custom build task. My question is, is it possible to create a private, custom build task? In other words, I only want my build task to be visible within my organization.

Is it possible to set custom build task visibility to certain scopes (i.e. project, groups, organization, etc.)?


回答1:


You can manage tasks within an account with the tfx command line tool, including uploading your own. You don't need to publish an extension to the marketplace.

Beyond that, no. Tasks exist within an account, and you cannot control their visibility within an account.




回答2:


Yes you can create a custom private task. Take a look at the "Publish Extension" task, you can set the extension visibility to private.

In terms of visibility, you will not be able to scope to a project, etc. To handle that I created a separate account that I use as my dev environment. My release pipeline pushes to the dev env, and upon approval releases to "prod" which is the account the rest of our department uses.



来源:https://stackoverflow.com/questions/52315025/azure-devops-custom-build-task-visibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!