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

查看:19
本文介绍了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

解决方案

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天全站免登陆