Fix internal nuget package publishing
This commit is contained in:
Родитель
8502e8e3c7
Коммит
bd4fc4e421
|
@ -46,6 +46,14 @@ jobs:
|
|||
Parallel: true
|
||||
- script: python tools\nuget_package.py -s $(Pipeline.Workspace) -o "$(Pipeline.Workspace)\nuget" -v $(ProductVersion)
|
||||
displayName: Building NuGet Package
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish NuGet Package to Fileshare'
|
||||
inputs:
|
||||
PathtoPublish: '$(Pipeline.Workspace)\nuget'
|
||||
ArtifactName: IsacPlugin
|
||||
publishLocation: FilePath
|
||||
TargetPath: '$(InternalFileShare)\$(Build.SourceBranchName)\$(Build.BuildNumber)\'
|
||||
Parallel: true
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish NuGet Package to Build Artifacts'
|
||||
inputs:
|
||||
|
@ -69,14 +77,6 @@ jobs:
|
|||
artifactName: 'NugetPackage'
|
||||
buildType: 'current'
|
||||
targetPath: '$(Pipeline.Workspace)\nuget'
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish NuGet Package to Fileshare'
|
||||
inputs:
|
||||
PathtoPublish: '$(Pipeline.Workspace)\nuget'
|
||||
ArtifactName: IsacPlugin
|
||||
publishLocation: FilePath
|
||||
TargetPath: '$(InternalFileShare)\$(Build.SourceBranchName)\$(Build.BuildNumber)\'
|
||||
Parallel: true
|
||||
- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
|
||||
displayName: 'Publish to Internal Nuget Feed'
|
||||
condition: and(succeeded(), or (eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.SourceBranch'], 'refs/heads/develop')))
|
||||
|
|
Загрузка…
Ссылка в новой задаче