VSTS-允许脚本访问版本管理中的OAuth令牌 [英] VSTS - allow Scripts to Access OAuth Token in Release Management
问题描述
在VSTS/VSO中,是否可以从版本管理中访问OAuth令牌?该选项在Build中存在,但我看不到它在发行版中可用.下面的网址表明该代码已被实施,但注释中则另有说明.
In VSTS/VSO is it possible to gain access to the OAuth token from release management? The option is there in Build but I do not see it available from release. The url below suggests that it's been implement but the comments suggests otherwise.
推荐答案
找到了它.首先需要为环境添加任务.添加任务后,您可以单击在代理上运行".这将打开一个不同的视图,这些视图通过选项卡的oan不可用.展开其他选项",然后选中允许脚本访问OAuth令牌".
Found it. First need to add a task for an environment. Once the task is added you can click on "Run on agent". This will open a a different view not available through oan of the tabs. Expand "Additional options" and check "Allow scripts to access OAuth token".
这篇关于VSTS-允许脚本访问版本管理中的OAuth令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!