adding
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
name: 'LCU.API.Internal.Document.$(Build.SourceBranchName).$(Date:yyyyMMdd)$(Rev:.r)'
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- '*'
|
||||
|
||||
pool:
|
||||
name: LCUOnPrem
|
||||
demands:
|
||||
- Agent.Name -equals D1UTL01Q
|
||||
|
||||
variables:
|
||||
buildConfiguration: 'Release'
|
||||
|
||||
steps:
|
||||
- task: DotNetCoreCLI@2
|
||||
inputs:
|
||||
command: 'restore'
|
||||
feedsToUse: 'select'
|
||||
vstsFeed: '58ebbac4-8e98-4281-bb3f-58003852f4a7'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
inputs:
|
||||
command: 'build'
|
||||
projects: '**/*.csproj'
|
||||
arguments: '--configuration $(buildConfiguration)'
|
||||
|
||||
- task: NuGetCommand@2
|
||||
condition: or(eq(variables['Build.SourceBranchName'], 'develop'), eq(variables['Build.SourceBranchName'], 'master'))
|
||||
displayName: 'NuGet Push'
|
||||
inputs:
|
||||
command: 'push'
|
||||
packagesToPush: '$(Pipeline.Workspace)/**/*.nupkg'
|
||||
publishVstsFeed: '58ebbac4-8e98-4281-bb3f-58003852f4a7'
|
||||
allowPackageConflicts: true
|
||||
Reference in New Issue
Block a user