从Visual Studio Online部署特定变更集或标签版本 [英] Deploy Specific Changeset or Label version from Visual Studio Online

查看:107
本文介绍了从Visual Studio Online部署特定变更集或标签版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio Online Web GUI来创建我的构建定义。我有3个步骤,


$
1)Nuget安装程序


2)Visual Studio Build


3)Azure Web App部署


令人沮丧的是我无法做到这一点。我已在步骤2中将MSBuild参数指定为'/ p:GetVersion = C4443',但托管构建服务器忽略此项并获取最新的源版本,请参阅下面链接中的示例。



我已经浏览了互联网和msdn论坛,但无法找到我认为必须是CI中最直接选项的解决方案。希望我不会遗漏任何东西,任何人都可以协助吗?



此外,有人可以验证我的帐户,所以我可以发布图片和链接...
$


链接:http://imgur.com/a/vwtog

解决方案

Hello Gorillapower,


请检查以下链接,这可能有助于您传递变更集或标签版本。


https://social.msdn.microsoft.com/Forums/vstudio/en-US/6263d24d-6a27-49d5-bc2d-5c970a20d096/passing-sourcegetversion-to-msbuild-arguments?forum=tfsbuild


希望它有所帮助。


问候,


Sunil.HP


I am using the Visual Studio Online web GUI to create my build definitions. I have 3 steps,

1) Nuget Installer

2) Visual Studio Build

3) Azure Web App Deploy

Frustratingly I am unable to do this. I have specified the MSBuild parameter in step 2 as '/p:GetVersion=C4443', but the Hosted build server ignores this and gets the latest source version, please see the example at link below.

I have scoured the internet and msdn forums but cannot find a solution to what i thought must be the most straight forward option in CI. Hope im not missing anything, can anyone assist?
see

Additionally can someone verify my account so i can post pictures and links...

LINK: http://imgur.com/a/vwtog

解决方案

Hello Gorillapower,

Please check the below link which might help you to pass changeset or label version.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/6263d24d-6a27-49d5-bc2d-5c970a20d096/passing-sourcegetversion-to-msbuild-arguments?forum=tfsbuild

Hope it helps.

Regards,

Sunil.HP


这篇关于从Visual Studio Online部署特定变更集或标签版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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