Zapier触发VSTS构建失败 [英] VSTS Build failes when triggered by Zapier

查看:106
本文介绍了Zapier触发VSTS构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有使用VSBuild构建的构建定义. 从网络界面触发时,它可以完美运行. 但是从Zapier触发后,它将失败,并显示以下错误:

I have build definition that builds using VSBuild. When triggered from web interface it works perfectly. But when triggered from Zapier it fails with following error:

[错误] C:\ TFSAgent_work \ 1 \ s \ CityExpert.sln.metaproj(0,0):错误MSB4126:指定的解决方案配置"CRMDev | any cpu"为 无效的.请使用以下命令指定有效的解决方案配置 配置和平台属性(例如MSBuild.exe Solution.sln /p:Configuration = Debug/p:Platform ="Any CPU")或保留这些 属性为空白以使用默认解决方案配置.

[error]C:\TFSAgent_work\1\s\CityExpert.sln.metaproj(0,0): Error MSB4126: The specified solution configuration "CRMDev|any cpu" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.

但是该配置已在解决方案中,并且与手动排队构建使用的配置相同. 所有配置都相同,支架相同. MSBuild命令行在日志中切换-相同.

But that configuration is in solution and is the same the manualy queued build uses. All configuration is the same, brench is the same. MSBuild command line switches in log - same.

推荐答案

我找到了解决方案. 看起来像是VSTS中的错误.

I found solution. It looks like a bug in VSTS.

即使其他人被配置为默认设置,Zapier的构建也会拉动主数据泄露.

Builds from Zapier are pulling master breach even when other one is configured as default.

内部详细信息显示开发"为默认违规:

Build details show 'devel' as default breach:

Build details
Definition CRMDev (edit)
Source branch devel
Source version
Requested by Boris Prpic
Queued Monday, January 18, 2016 7:42:41 PM
Started Monday, January 18, 2016 7:42:45 PM
Finished Monday, January 18, 2016 7:42:51 PM

但是日志显示它确实是在拉动大师:

But the logs show it is really pulling master:

2016-01-18T19:42:32.3257942Z Syncing repository: CRM (Git)
2016-01-18T19:42:32.3559010Z Starting fetch
2016-01-18T19:42:34.5759230Z Checking out refs/remotes/origin/master to C:\TFSAgent\_work\1\s
2016-01-18T19:42:34.6471116Z Checked out branch  for repository CRM at commit 40fe14218f9d6b7cfcf7e28fbd0cef507e6d37f6

这篇关于Zapier触发VSTS构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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