Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
+11
-2
@@ -7,7 +7,7 @@ trigger:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'windows-latest'
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
solution: '**/*.sln'
|
solution: '**/*.sln'
|
||||||
@@ -29,7 +29,7 @@ steps:
|
|||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
command: 'build'
|
command: 'test'
|
||||||
projects: './test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj'
|
projects: './test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj'
|
||||||
arguments: '--configuration $(buildConfiguration)'
|
arguments: '--configuration $(buildConfiguration)'
|
||||||
|
|
||||||
@@ -41,6 +41,15 @@ steps:
|
|||||||
arguments: '-p:NuspecFile=./src/AspnetCore.Identity.MongoDbCore.nuspec'
|
arguments: '-p:NuspecFile=./src/AspnetCore.Identity.MongoDbCore.nuspec'
|
||||||
packDirectory: $(build.artifactStagingDirectory)/Nuget
|
packDirectory: $(build.artifactStagingDirectory)/Nuget
|
||||||
nobuild: true
|
nobuild: true
|
||||||
|
verbosityPack: 'Minimal'
|
||||||
|
|
||||||
|
- task: DotNetCoreCLI@2
|
||||||
|
inputs:
|
||||||
|
command: 'pack'
|
||||||
|
packagesToPack: '**/*.csproj'
|
||||||
|
nobuild: true
|
||||||
|
versioningScheme: 'off'
|
||||||
|
verbosityPack: 'Minimal'
|
||||||
|
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Reference in New Issue
Block a user