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