在GitHub中创建PR时,如何构建VSTS?我在VSTS版本中尝试了几个触发器,如refs/pull/*/merge
和refs/pull/*/head
.在向主分支提交时,我有一个构建工作,但是在创建PR时我无法触发构建.
此外,webhook历史记录显示消息已成功发布到VSTS,但构建永远不会启动.
我们有一个Azure工作者角色 - .NET 4.0 - 在osFamily ="2"(Server 2008R2)上部署到Azure时可以正常运行.但是,当我们使用osFamily ="3"(Server 2012)进行部署并且没有其他代码更改时,工作者角色会不断回收服务器事件日志中的以下2个错误:
错误应用程序名称:WaWorkerHost.exe,版本:6.0.6002.18488,时间戳:0x505cf7ca错误模块名称:KERNELBASE.dll,版本:6.2.9200.16384,时间戳:0x5010ab2d异常代码:0xe0434352错误偏移量:0x00000000000189cc错误进程id:0xefc错误应用程序启动时间:0x01cdd4318f76d221错误应用程序路径:E:\ base\x64\WaWorkerHost.exe错误模块路径:D:\ Windows\system32\KERNELBASE.dll报告ID:cf1810b0-4024-11e2-93ec-00155d4250e3错误包全名:错误包相关的应用程序ID:
应用程序:WaWorkerHost.exe Framework版本:v4.0.30319描述:由于未处理的异常,进程已终止.异常信息:System.InvalidOperationException Stack:在System.Threading.ExecutionContext.RunInternal的Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.b__0()中(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean )System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System System.Threading.ThreadHelper.ThreadStart()的.Object)
有任何想法吗?
更新------------------发现第三个例外:
应用程序:WaWorkerHost.exe Framework版本:v4.0.30319描述:由于未处理的异常,进程已终止.异常信息:System.Security.Cryptography.CryptographicException Stack:at System.Threading.ExecutionContext.RunInternal的Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.b__0()(System.Threading.ExecutionContext,System.Threading.ContextCallback,System System.Threading.ExecutionContext.Run上的System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)中的.Object,Boolean)(System.Threading.ExecutionContext,System.Threading) System.Threading.ThreadHelper.ThreadStart()中的.ContextCallback,System.Object)
我们使用LocalComputer/My中的证书来解密连接字符串.证书成功部署到OsFamily ="2"(Server 2008R2)并将Worker角色用户添加到私钥(在RDP会话中验证).但是,对于OsFamily ="3"(Server 2012) - 证书未部署,因此加密错误.跟进Azure支持... UGH.
我正在使用Stream Analytics跟踪从Application Insights导出到SQL的示例演练.我试图导出自定义事件维度(下面的JSON示例中的context.custom.dimensions),它将作为嵌套的JSON数组添加到数据文件中.如何在context.custom.dimensions中展平维度数组以导出到SQL?
JSON ...
{
"event": [
{
"name": "50_DistanceSelect",
"count": 1
}
],
"internal": {
"data": {
"id": "aad2627b-60c5-48e8-aa35-197cae30a0cf",
"documentVersion": "1.5"
}
},
"context": {
"device": {
"os": "Windows",
"osVersion": "Windows 8.1",
"type": "PC",
"browser": "Chrome",
"browserVersion": "Chrome 43.0",
"screenResolution": {
"value": "1920X1080"
},
"locale": "unknown",
"id": "browser",
"userAgent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36"
},
"application": {},
"location": {
"continent": "North America",
"country": "United States",
"point": {
"lat": …
Run Code Online (Sandbox Code Playgroud) json azure azure-application-insights azure-stream-analytics