Revert "modify ado dev pipeline parameterize targetPath"

This reverts commit 6bf9618182.
This commit is contained in:
jagilber 2024-03-17 09:22:38 -04:00
Родитель dde89ac498
Коммит e9c1719d4c
1 изменённых файлов: 6 добавлений и 17 удалений

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

@ -18,7 +18,6 @@ variables:
artifacts_share_target: 'Z:\$(System.DefinitionName)\$(System.JobId)\$(start_time)'
system.debug: true
buildConfiguration: debug
targetPath: $(System.DefaultWorkingDirectory)/src/bin/$(buildConfiguration)
steps:
- task: PowerShell@2
@ -65,7 +64,7 @@ steps:
- task: ManifestGeneratorTask@0
inputs:
BuildDropPath: $(targetPath)
BuildDropPath: $(System.DefaultWorkingDirectory)/src/bin/$(buildConfiguration)
Verbosity: Verbose
PackageName: CollectSFData
@ -103,7 +102,7 @@ steps:
- task: PublishPipelineArtifact@1
inputs:
targetPath: $(targetPath)
targetPath: $(System.DefaultWorkingDirectory)/src/bin/$(buildConfiguration)
artifactName: build-$(start_time)-$(system.JobId)
- task: PublishPipelineArtifact@1
@ -132,10 +131,10 @@ steps:
write-host "mkdir "$env:artifacts_share_target""
mkdir "$env:artifacts_share_target"
}
write-host "copy $env:targetPath $env:artifacts_share_target -recurse"
copy "$env:targetPath" "$env:artifacts_share_target" -recurse
write-host "copy $(System.ArtifactsDirectory) $env:artifacts_share_target -recurse"
copy "$(System.ArtifactsDirectory)"" "$env:artifacts_share_target" -recurse
write-host "copy $(System.DefaultWorkingDirectory)/src/bin/$(buildConfiguration) "$env:artifacts_share_target" -recurse"
copy $(System.DefaultWorkingDirectory)/src/bin/$(buildConfiguration) "$env:artifacts_share_target" -recurse
write-host "copy $(System.ArtifactsDirectory) "$env:artifacts_share_target" -recurse"
copy $(System.ArtifactsDirectory) "$env:artifacts_share_target" -recurse
errorActionPreference: 'continue'
verbosePreference: 'continue'
debugPreference: 'continue'
@ -152,13 +151,3 @@ steps:
# targetPath: '$(artifacts_share_target)'
# allowPartiallySucceededBuilds: true
# allowFailedBuilds: true
# # https://aka.ms/esrp
# - task: EsrpCodeSigning@4
# inputs:
# FolderPath: $(targetPath)
# Pattern: '*.dll,*.exe,*.zip,*.nupkg'
# SessionTimeout: '60'
# MaxConcurrency: '50'
# MaxRetryAttempts: '5'
# PendingAnalysisWaitTimeoutMinutes: '5'