File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
eng/common/pipelines/templates/steps Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ parameters:
1111 - name : TargetPath
1212 type : string
1313 default : $(Build.SourcesDirectory)
14+ - name : WorkingDirectory
15+ type : string
16+ default : $(Build.SourcesDirectory)
1417 - name : ScriptDirectory
1518 type : string
1619 default : eng/common/scripts
3639 -ArtifactPath '${{ parameters.DiffDirectory }}'
3740 -ExcludePaths ('${{ convertToJson(parameters.ExcludePaths) }}' | ConvertFrom-Json)
3841 pwsh : true
42+ WorkingDirectory : ' ${{ parameters.WorkingDirectory }}'
3943
4044 # When running in PR mode, we want the detected changed services to be attached to the build as tags.
4145 # However, the public identity does not have the permissions to attach tags to the build.
4953 Write-Host '##vso[task.addattachment type=AdditionalTags;name=AdditionalTags;]$(System.DefaultWorkingDirectory)/tags.json'
5054 }
5155 displayName: Upload tags.json with changed services
56+ WorkingDirectory: '${{ parameters.WorkingDirectory }}'
5257
5358 - task : Powershell@2
5459 displayName : Save package properties filtered for PR
5863 -PrDiff '${{ parameters.DiffDirectory }}/diff.json'
5964 -OutDirectory '${{ parameters.PackageInfoDirectory }}'
6065 pwsh : true
66+ WorkingDirectory : ' ${{ parameters.WorkingDirectory }}'
6167 - ${{ else }} :
6268 - task : Powershell@2
6369 displayName : Save package properties
6874 -OutDirectory '${{ parameters.PackageInfoDirectory }}'
6975 -AddDevVersion:($env:SETDEVVERSION -eq 'true')
7076 pwsh : true
77+ WorkingDirectory : ' ${{ parameters.WorkingDirectory }}'
You can’t perform that action at this time.
0 commit comments