Merged PR 813669: Correct the file path in appHostPatcher pipeline.yml

Add absolute path instead of relative path.
This commit is contained in:
Sahiti Chandramouli 2024-11-05 22:55:19 +00:00
Родитель 550ddfe8df
Коммит 43b463178a
3 изменённых файлов: 15 добавлений и 14 удалений

Просмотреть файл

@ -14,6 +14,14 @@ jobs:
- job: ${{ parameters.jobName }}
displayName: "[${{ parameters.platform }}] Build AppHostPatcher"
pool: ${{ parameters.pool }}
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish binaries'
condition: always()
continueOnError: True
targetPath: $(AppHostPatcherRootDir)/${{ parameters.platform }}
artifactName: 'apphostpatcher-${{ parameters.platform }}'
steps:
- checkout: self

Просмотреть файл

@ -12,14 +12,14 @@ steps:
- template: /.azdo/publish-app-host-patcher/download-artifacts.yml@self
parameters:
targetDirectory: ${{ parameters.targetRootDirectory }}/Package/tools/${{ parameters.windowsPlatform }}
artifactName: ${{ parameters.windowsPlatform }}
artifactName: 'apphostpatcher-${{ parameters.windowsPlatform }}'
- template: /.azdo/publish-app-host-patcher/download-artifacts.yml@self
parameters:
targetDirectory: ${{ parameters.targetRootDirectory }}/Package/tools/${{ parameters.linuxPlatform }}
artifactName: ${{ parameters.linuxPlatform }}
artifactName: 'apphostpatcher-${{ parameters.linuxPlatform }}'
- template: /.azdo/publish-app-host-patcher/download-artifacts.yml@self
parameters:
targetDirectory: ${{ parameters.targetRootDirectory }}/Package/tools/${{ parameters.macosPlatform }}
artifactName: ${{ parameters.macosPlatform }}
artifactName: 'apphostpatcher-${{ parameters.macosPlatform }}'

Просмотреть файл

@ -14,7 +14,7 @@ variables:
- name: MacOSPlatform
value: osx-x64
- name: BasePackageName
value: buildxl.tools.apphostpatcher
value: BuildXL.Tools.AppHostPatcher
resources:
repositories:
@ -74,13 +74,6 @@ extends:
templateContext:
outputs:
- output: pipelineArtifact
displayName: Publish nuget packages
condition: succeeded()
continueOnError: True
targetPath: $(Agent.TempDirectory)/AppHostPatcherPackage
artifactName: AppHostPatcherArtifacts
- output: nuget
displayName: '📦 Push NuGet packages to Domino-BuildXL feed'
packageParentPath: $(Agent.TempDirectory)/AppHostPatcherPackage
@ -92,7 +85,7 @@ extends:
- output: nuget
displayName: '📦 Push NuGet packages to to BuildXL External feed'
packageParentPath: $(Agent.TempDirectory)/AppHostPatcherPackage
packagesToPush: (Agent.TempDirectory)/AppHostPatcherPackage/*.nupkg
packagesToPush: $(Agent.TempDirectory)/AppHostPatcherPackage/*.nupkg
nuGetFeedType: external
publishFeedCredentials: 'mseng-Domino-BuildXL-mseng_PipelineTools_BuildXL.External.Dependencies'
sbomEnabled: false
@ -102,8 +95,8 @@ extends:
displayName: Prepare Nuget Package directory
inputs:
targetType: 'filePath'
filePath: '/.azdo/scripts/PrepareAppHostPatcherRuntimePackage.ps1'
arguments: '-packageVersion {{ parameters.AppHostPatcherVersion }} -outputDirectory $(AppHostPatcherRootDir) -basePackageName $(BasePackageName)'
filePath: '$(Build.SourcesDirectory)/.azdo/scripts/PrepareAppHostPatcherRuntimePackage.ps1'
arguments: '-packageVersion ${{ parameters.AppHostPatcherVersion }} -outputDirectory $(AppHostPatcherRootDir) -basePackageName $(BasePackageName)'
- task: PowerShell@2
displayName: Prepare packaging directory