Commit 55891307 authored by yangxiaodong's avatar yangxiaodong

add build

parent 91bcf4ce
...@@ -34,6 +34,18 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cap.Consistency.Kafka", "sr ...@@ -34,6 +34,18 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cap.Consistency.Kafka", "sr
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cap.Consistency.RabbitMQ", "src\Cap.Consistency.RabbitMQ\Cap.Consistency.RabbitMQ.csproj", "{9961B80E-0718-4280-B2A0-271B003DE26B}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cap.Consistency.RabbitMQ", "src\Cap.Consistency.RabbitMQ\Cap.Consistency.RabbitMQ.csproj", "{9961B80E-0718-4280-B2A0-271B003DE26B}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{10C0818D-9160-4B80-BB86-DDE925B64D43}"
ProjectSection(SolutionItems) = preProject
build.cake = build.cake
build.ps1 = build.ps1
build.sh = build.sh
build\common.props = build\common.props
build\index.cake = build\index.cake
build\util.cake = build\util.cake
build\version.cake = build\version.cake
build\version.props = build\version.props
EndProjectSection
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
......
...@@ -3,20 +3,20 @@ os: Visual Studio 2015 ...@@ -3,20 +3,20 @@ os: Visual Studio 2015
environment: environment:
BUILDING_ON_PLATFORM: win BUILDING_ON_PLATFORM: win
BuildEnvironment: appveyor BuildEnvironment: appveyor
Jobs_SqlServer_ConnectionStringTemplate: Server=.\SQL2012SP1;Database={0};User ID=sa;Password=Password12! # Jobs_SqlServer_ConnectionStringTemplate: Server=.\SQL2012SP1;Database={0};User ID=sa;Password=Password12!
services: services:
- mssql2012sp1 - mssql2012sp1
build_script: build_script:
- ps: ./ConfigureMSDTC.ps1 #- ps: ./ConfigureMSDTC.ps1
- ps: ./build.ps1 - ps: ./build.ps1
test: off test: off
artifacts: artifacts:
- path: artifacts/packages/*.nupkg - path: artifacts/packages/*.nupkg
deploy: #deploy:
provider: NuGet # provider: NuGet
on: # on:
appveyor_repo_tag: true # appveyor_repo_tag: true
api_key: # api_key:
secure: PWCeOQ12fgAhPiBjgkBAqHbvaPQArarsO2sI+8KCeXjBjE+AHaMIMW8b7efmDzQ6 # secure: PWCeOQ12fgAhPiBjgkBAqHbvaPQArarsO2sI+8KCeXjBjE+AHaMIMW8b7efmDzQ6
skip_symbols: true # skip_symbols: true
artifact: /artifacts\/packages\/.+\.nupkg/ # artifact: /artifacts\/packages\/.+\.nupkg/
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<VersionMajor>0</VersionMajor> <VersionMajor>0</VersionMajor>
<VersionMinor>7</VersionMinor> <VersionMinor>1</VersionMinor>
<VersionPatch>2</VersionPatch> <VersionPatch>0</VersionPatch>
<VersionQuality></VersionQuality> <VersionQuality></VersionQuality>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix> <VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
</PropertyGroup> </PropertyGroup>
......
...@@ -84,7 +84,7 @@ namespace Cap.Consistency.Consumer ...@@ -84,7 +84,7 @@ namespace Cap.Consistency.Consumer
_logger.LogInformation("message receieved message topic name: " + consistencyMessage.Id); _logger.LogInformation("message receieved message topic name: " + consistencyMessage.Id);
_messageManager.CreateAsync(consistencyMessage); _messageManager.CreateAsync(consistencyMessage).Wait();
try { try {
var executeDescriptor = _selector.GetTopicExector(message.MessageKey); var executeDescriptor = _selector.GetTopicExector(message.MessageKey);
...@@ -95,7 +95,7 @@ namespace Cap.Consistency.Consumer ...@@ -95,7 +95,7 @@ namespace Cap.Consistency.Consumer
invoker.InvokeAsync(); invoker.InvokeAsync();
_messageManager.UpdateAsync(consistencyMessage); _messageManager.UpdateAsync(consistencyMessage).Wait();
} }
catch (Exception ex) { catch (Exception ex) {
......
...@@ -65,9 +65,6 @@ namespace Cap.Consistency.Store ...@@ -65,9 +65,6 @@ namespace Cap.Consistency.Store
ThrowIfDisposed(); ThrowIfDisposed();
//todo: validation message fileds is correct //todo: validation message fileds is correct
return Store.CreateAsync(message, CancellationToken); return Store.CreateAsync(message, CancellationToken);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment