VSTS-允许脚本访问版本管理中的OAuth令牌 [英] VSTS - allow Scripts to Access OAuth Token in Release Management

查看:70
本文介绍了VSTS-允许脚本访问版本管理中的OAuth令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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.

https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/12980961-allow-scripts-to-access-oauth-token-in-release-man

推荐答案

找到了它.首先需要为环境添加任务.添加任务后,您可以单击在代理上运行".这将打开一个不同的视图,这些视图通过选项卡的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屋!

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