Skip to content

[BUG]: PublishPipelineArtifact/DownloadPipelineArtifact don't retain executable bit #21170

@Wikiwix

Description

@Wikiwix

New issue checklist

Task name

DownloadPipelineArtifact

Task version

2.198.0

Issue Description

#19706 is still unresolved for the newerPublishPipelineArtifact@1/DownloadPipelineArtifact@2 tasks.
For the older BuildArtifact tasks there was a fix implemented in #14579.

Environment type (Please select at least one environment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows 11

Relevant log output

/home/vsts/work/_temp/7ba38ba4-a650-439f-b495-551d8eb9bae7.sh: line 1: targetDir/test.sh: Permission denied

Full task logs with system.debug enabled

2025-07-23T15:18:40.7064825Z ##[section]Starting: Initialize job
2025-07-23T15:18:40.7068826Z Agent name: 'Hosted Agent'
2025-07-23T15:18:40.7069248Z Agent machine name: 'pkrvmywd3cwln3j'
2025-07-23T15:18:40.7069449Z Current agent version: '4.258.1'
2025-07-23T15:18:40.7093962Z ##[group]Runner Image Provisioner
2025-07-23T15:18:40.7094378Z Hosted Compute Agent
2025-07-23T15:18:40.7094529Z Version: 20250711.363
2025-07-23T15:18:40.7094714Z Commit: 6785254374ce925a23743850c1cb91912ce5c14c
2025-07-23T15:18:40.7094909Z Build Date: 2025-07-11T20:04:25Z
2025-07-23T15:18:40.7095076Z ##[endgroup]
2025-07-23T15:18:40.7095221Z ##[group]Operating System
2025-07-23T15:18:40.7095368Z Ubuntu
2025-07-23T15:18:40.7095483Z 24.04.2
2025-07-23T15:18:40.7095613Z LTS
2025-07-23T15:18:40.7095730Z ##[endgroup]
2025-07-23T15:18:40.7095883Z ##[group]Runner Image
2025-07-23T15:18:40.7096280Z Image: ubuntu-24.04
2025-07-23T15:18:40.7096433Z Version: 20250720.1.0
2025-07-23T15:18:40.7096667Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250720.1/images/ubuntu/Ubuntu2404-Readme.md
2025-07-23T15:18:40.7097128Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250720.1
2025-07-23T15:18:40.7097507Z ##[endgroup]
2025-07-23T15:18:40.7101611Z Current image version: '20250720.1.0'
2025-07-23T15:18:40.8050818Z Agent running as: 'vsts'
2025-07-23T15:18:40.8097954Z Prepare build directory.
2025-07-23T15:18:40.8334809Z Set build variables.
2025-07-23T15:18:40.8354082Z Download all required tasks.
2025-07-23T15:18:40.8433849Z Downloading task: Bash (3.259.0)
2025-07-23T15:18:41.3800087Z Downloading task: PublishPipelineArtifact (1.242.0)
2025-07-23T15:18:41.4725129Z Checking job knob settings.
2025-07-23T15:18:41.4728616Z    Knob: DockerActionRetries = true Source: $(VSTSAGENT_DOCKER_ACTION_RETRIES) 
2025-07-23T15:18:41.4728990Z    Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY} 
2025-07-23T15:18:41.4730088Z    Knob: UseGitLongPaths = true Source: $(USE_GIT_LONG_PATHS) 
2025-07-23T15:18:41.4731868Z    Knob: EnableIssueSourceValidation = true Source: $(ENABLE_ISSUE_SOURCE_VALIDATION) 
2025-07-23T15:18:41.4732659Z    Knob: AgentEnablePipelineArtifactLargeChunkSize = true Source: $(AGENT_ENABLE_PIPELINEARTIFACT_LARGE_CHUNK_SIZE) 
2025-07-23T15:18:41.4734998Z    Knob: ContinueAfterCancelProcessTreeKillAttempt = true Source: $(VSTSAGENT_CONTINUE_AFTER_CANCEL_PROCESSTREEKILL_ATTEMPT) 
2025-07-23T15:18:41.4735578Z    Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC) 
2025-07-23T15:18:41.4736303Z    Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC_LOG) 
2025-07-23T15:18:41.4736737Z    Knob: ProcessHandlerTelemetry = true Source: $(AZP_75787_ENABLE_COLLECT) 
2025-07-23T15:18:41.4737187Z    Knob: UseNewNodeHandlerTelemetry = True Source: $(DistributedTask.Agent.USENEWNODEHANDLERTELEMETRY) 
2025-07-23T15:18:41.4737621Z    Knob: ProcessHandlerEnableNewLogic = true Source: $(AZP_75787_ENABLE_NEW_PH_LOGIC) 
2025-07-23T15:18:41.4738427Z    Knob: EnableResourceMonitorDebugOutput = true Source: $(AZP_ENABLE_RESOURCE_MONITOR_DEBUG_OUTPUT) 
2025-07-23T15:18:41.4738867Z    Knob: EnableResourceUtilizationWarnings = true Source: $(AZP_ENABLE_RESOURCE_UTILIZATION_WARNINGS) 
2025-07-23T15:18:41.4739448Z    Knob: IgnoreVSTSTaskLib = true Source: $(AZP_AGENT_IGNORE_VSTSTASKLIB) 
2025-07-23T15:18:41.4739849Z    Knob: FailJobWhenAgentDies = true Source: $(FAIL_JOB_WHEN_AGENT_DIES) 
2025-07-23T15:18:41.4740339Z    Knob: CheckForTaskDeprecation = true Source: $(AZP_AGENT_CHECK_FOR_TASK_DEPRECATION) 
2025-07-23T15:18:41.4740892Z    Knob: CheckIfTaskNodeRunnerIsDeprecated246 = True Source: $(DistributedTask.Agent.CheckIfTaskNodeRunnerIsDeprecated246) 
2025-07-23T15:18:41.4741421Z    Knob: UseNode20ToStartContainer = True Source: $(DistributedTask.Agent.UseNode20ToStartContainer) 
2025-07-23T15:18:41.4741928Z    Knob: LogTaskNameInUserAgent = true Source: $(AZP_AGENT_LOG_TASKNAME_IN_USERAGENT) 
2025-07-23T15:18:41.4742602Z    Knob: UseFetchFilterInCheckoutTask = true Source: $(AGENT_USE_FETCH_FILTER_IN_CHECKOUT_TASK) 
2025-07-23T15:18:41.4743223Z    Knob: Rosetta2Warning = true Source: $(ROSETTA2_WARNING) 
2025-07-23T15:18:41.4744096Z    Knob: AddForceCredentialsToGitCheckout = True Source: $(DistributedTask.Agent.AddForceCredentialsToGitCheckout) 
2025-07-23T15:18:41.4744994Z    Knob: UseSparseCheckoutInCheckoutTask = true Source: $(AGENT_USE_SPARSE_CHECKOUT_IN_CHECKOUT_TASK) 
2025-07-23T15:18:41.4745642Z    Knob: AgentCDNConnectivityFailWarning = False Source: $(DistributedTask.Agent.AgentCDNConnectivityFailWarning) 
2025-07-23T15:18:41.4745898Z Finished checking job knob settings.
2025-07-23T15:18:41.5031177Z Start tracking orphan processes.
2025-07-23T15:18:41.5197219Z ##[section]Finishing: Initialize job
2025-07-23T15:18:41.5347016Z Skipping step due to condition evaluation.
Evaluating: False
Result: False

2025-07-23T15:18:41.5421287Z ##[section]Starting: Bash
2025-07-23T15:18:41.5514500Z ==============================================================================
2025-07-23T15:18:41.5515123Z Task : Bash
2025-07-23T15:18:41.5515498Z Description : Run a Bash script on macOS, Linux, or Windows
2025-07-23T15:18:41.5515652Z Version : 3.259.0
2025-07-23T15:18:41.5516166Z Author : Microsoft Corporation
2025-07-23T15:18:41.5516562Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2025-07-23T15:18:41.5516726Z ==============================================================================
2025-07-23T15:18:41.8015546Z Generating script.
2025-07-23T15:18:41.8015879Z ========================== Starting Command Output ===========================
2025-07-23T15:18:41.8017197Z [command]/usr/bin/bash /home/vsts/work/_temp/90ea7c82-7b8c-43c8-9a24-05e16a83892d.sh
2025-07-23T15:18:41.8017352Z
2025-07-23T15:18:41.8051230Z ##[section]Finishing: Bash
2025-07-23T15:18:41.8330660Z ##[section]Starting: PublishPipelineArtifact
2025-07-23T15:18:41.8337618Z ==============================================================================
2025-07-23T15:18:41.8337783Z Task : Publish Pipeline Artifacts
2025-07-23T15:18:41.8337882Z Description : Publish (upload) a file or directory as a named artifact for the current run
2025-07-23T15:18:41.8338016Z Version : 1.242.0
2025-07-23T15:18:41.8338098Z Author : Microsoft Corporation
2025-07-23T15:18:41.8338197Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/publish-pipeline-artifact
2025-07-23T15:18:41.8338337Z ==============================================================================
2025-07-23T15:18:42.1825736Z Artifact name input: test
2025-07-23T15:18:42.1842142Z Uploading pipeline artifact from /home/vsts/work/1/s/test.sh for build #206435
2025-07-23T15:18:42.9805289Z Using default max parallelism.
2025-07-23T15:18:42.9807371Z Max dedup parallelism: 192
2025-07-23T15:18:42.9808049Z DomainId: 0
2025-07-23T15:18:43.1061443Z ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session ea67de58-16bd-45aa-b447-ce1a29e7e287
2025-07-23T15:18:43.1071005Z Hashtype: Dedup64K
2025-07-23T15:18:43.1242142Z DedupManifestArtifactClient will correlate http requests with X-TFS-Session ea67de58-16bd-45aa-b447-ce1a29e7e287
2025-07-23T15:18:43.2457976Z 1 files processed.
2025-07-23T15:18:43.2467594Z Processed 1 files from /home/vsts/work/1/s successfully.
2025-07-23T15:18:43.4218182Z Uploaded 0 out of 177 bytes
2025-07-23T15:18:43.4219702Z Content upload is done!
2025-07-23T15:18:43.4236629Z
2025-07-23T15:18:43.4238231Z Content upload statistics:
2025-07-23T15:18:43.4238938Z Total Content: 0.2 KB
2025-07-23T15:18:43.4239879Z Physical Content Uploaded: 0.0 bytes
2025-07-23T15:18:43.4240938Z Logical Content Uploaded: 0.0 bytes
2025-07-23T15:18:43.4241649Z Compression Saved: 0.0 bytes
2025-07-23T15:18:43.4242152Z Deduplication Saved: 0.2 KB
2025-07-23T15:18:43.4242675Z Number of Chunks Uploaded: 0
2025-07-23T15:18:43.4243228Z Total Number of Chunks: 3
2025-07-23T15:18:43.4243452Z
2025-07-23T15:18:43.6104465Z Associated artifact 91417 with build 206435
2025-07-23T15:18:43.6123588Z ApplicationInsightsTelemetrySender correlated 2 events with X-TFS-Session ea67de58-16bd-45aa-b447-ce1a29e7e287
2025-07-23T15:18:43.6127826Z Uploading pipeline artifact finished.
2025-07-23T15:18:43.6322984Z ##[section]Finishing: PublishPipelineArtifact
2025-07-23T15:18:43.6347593Z ##[section]Starting: Checkout
2025-07-23T15:18:43.6358215Z ==============================================================================
2025-07-23T15:18:43.6358410Z Task : Get sources
2025-07-23T15:18:43.6358484Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2025-07-23T15:18:43.6358644Z Version : 1.0.0
2025-07-23T15:18:43.6358725Z Author : Microsoft
2025-07-23T15:18:43.6359248Z Help : More Information
2025-07-23T15:18:43.6359416Z ==============================================================================
2025-07-23T15:18:43.9030283Z ##[section]Finishing: Checkout
2025-07-23T15:18:43.9054563Z ##[section]Starting: Finalize Job
2025-07-23T15:18:43.9064133Z Cleaning up task key
2025-07-23T15:18:43.9065308Z Start cleaning up orphan processes.
2025-07-23T15:18:43.9351432Z ##[section]Finishing: Finalize Job
2025-07-23T15:18:55.2385901Z ##[section]Starting: Initialize job
2025-07-23T15:18:55.2389615Z Agent name: 'Hosted Agent'
2025-07-23T15:18:55.2390273Z Agent machine name: 'pkrvmywd3cwln3j'
2025-07-23T15:18:55.2390788Z Current agent version: '4.258.1'
2025-07-23T15:18:55.2421942Z ##[group]Runner Image Provisioner
2025-07-23T15:18:55.2422310Z Hosted Compute Agent
2025-07-23T15:18:55.2422541Z Version: 20250711.363
2025-07-23T15:18:55.2422808Z Commit: 6785254374ce925a23743850c1cb91912ce5c14c
2025-07-23T15:18:55.2423090Z Build Date: 2025-07-11T20:04:25Z
2025-07-23T15:18:55.2423336Z ##[endgroup]
2025-07-23T15:18:55.2423559Z ##[group]Operating System
2025-07-23T15:18:55.2423791Z Ubuntu
2025-07-23T15:18:55.2423992Z 24.04.2
2025-07-23T15:18:55.2424173Z LTS
2025-07-23T15:18:55.2424375Z ##[endgroup]
2025-07-23T15:18:55.2424590Z ##[group]Runner Image
2025-07-23T15:18:55.2424847Z Image: ubuntu-24.04
2025-07-23T15:18:55.2425073Z Version: 20250720.1.0
2025-07-23T15:18:55.2425597Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250720.1/images/ubuntu/Ubuntu2404-Readme.md
2025-07-23T15:18:55.2426416Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250720.1
2025-07-23T15:18:55.2426716Z ##[endgroup]
2025-07-23T15:18:55.2430374Z Current image version: '20250720.1.0'
2025-07-23T15:18:55.4376192Z Agent running as: 'vsts'
2025-07-23T15:18:55.4446147Z Prepare build directory.
2025-07-23T15:18:55.4939442Z Set build variables.
2025-07-23T15:18:55.4963125Z Download all required tasks.
2025-07-23T15:18:55.5163308Z Downloading task: DownloadPipelineArtifact (2.198.0)
2025-07-23T15:18:55.5871558Z Downloading task: Bash (3.259.0)
2025-07-23T15:18:56.2273932Z Checking job knob settings.
2025-07-23T15:18:56.2277650Z Knob: DockerActionRetries = true Source: $(VSTSAGENT_DOCKER_ACTION_RETRIES)
2025-07-23T15:18:56.2278213Z Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY}
2025-07-23T15:18:56.2280035Z Knob: UseGitLongPaths = true Source: $(USE_GIT_LONG_PATHS)
2025-07-23T15:18:56.2282796Z Knob: EnableIssueSourceValidation = true Source: $(ENABLE_ISSUE_SOURCE_VALIDATION)
2025-07-23T15:18:56.2283794Z Knob: AgentEnablePipelineArtifactLargeChunkSize = true Source: $(AGENT_ENABLE_PIPELINEARTIFACT_LARGE_CHUNK_SIZE)
2025-07-23T15:18:56.2286783Z Knob: ContinueAfterCancelProcessTreeKillAttempt = true Source: $(VSTSAGENT_CONTINUE_AFTER_CANCEL_PROCESSTREEKILL_ATTEMPT)
2025-07-23T15:18:56.2287694Z Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC)
2025-07-23T15:18:56.2288317Z Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC_LOG)
2025-07-23T15:18:56.2288933Z Knob: ProcessHandlerTelemetry = true Source: $(AZP_75787_ENABLE_COLLECT)
2025-07-23T15:18:56.2289978Z Knob: UseNewNodeHandlerTelemetry = True Source: $(DistributedTask.Agent.USENEWNODEHANDLERTELEMETRY)
2025-07-23T15:18:56.2290817Z Knob: ProcessHandlerEnableNewLogic = true Source: $(AZP_75787_ENABLE_NEW_PH_LOGIC)
2025-07-23T15:18:56.2291854Z Knob: EnableResourceMonitorDebugOutput = true Source: $(AZP_ENABLE_RESOURCE_MONITOR_DEBUG_OUTPUT)
2025-07-23T15:18:56.2292604Z Knob: EnableResourceUtilizationWarnings = true Source: $(AZP_ENABLE_RESOURCE_UTILIZATION_WARNINGS)
2025-07-23T15:18:56.2293894Z Knob: IgnoreVSTSTaskLib = true Source: $(AZP_AGENT_IGNORE_VSTSTASKLIB)
2025-07-23T15:18:56.2294490Z Knob: FailJobWhenAgentDies = true Source: $(FAIL_JOB_WHEN_AGENT_DIES)
2025-07-23T15:18:56.2295252Z Knob: CheckForTaskDeprecation = true Source: $(AZP_AGENT_CHECK_FOR_TASK_DEPRECATION)
2025-07-23T15:18:56.2296107Z Knob: CheckIfTaskNodeRunnerIsDeprecated246 = True Source: $(DistributedTask.Agent.CheckIfTaskNodeRunnerIsDeprecated246)
2025-07-23T15:18:56.2297128Z Knob: UseNode20ToStartContainer = True Source: $(DistributedTask.Agent.UseNode20ToStartContainer)
2025-07-23T15:18:56.2297943Z Knob: LogTaskNameInUserAgent = true Source: $(AZP_AGENT_LOG_TASKNAME_IN_USERAGENT)
2025-07-23T15:18:56.2299397Z Knob: UseFetchFilterInCheckoutTask = true Source: $(AGENT_USE_FETCH_FILTER_IN_CHECKOUT_TASK)
2025-07-23T15:18:56.2300518Z Knob: Rosetta2Warning = true Source: $(ROSETTA2_WARNING)
2025-07-23T15:18:56.2302269Z Knob: AddForceCredentialsToGitCheckout = True Source: $(DistributedTask.Agent.AddForceCredentialsToGitCheckout)
2025-07-23T15:18:56.2303266Z Knob: UseSparseCheckoutInCheckoutTask = true Source: $(AGENT_USE_SPARSE_CHECKOUT_IN_CHECKOUT_TASK)
2025-07-23T15:18:56.2304136Z Knob: AgentCDNConnectivityFailWarning = False Source: $(DistributedTask.Agent.AgentCDNConnectivityFailWarning)
2025-07-23T15:18:56.2304506Z Finished checking job knob settings.
2025-07-23T15:18:56.2723940Z Start tracking orphan processes.
2025-07-23T15:18:56.2949074Z ##[section]Finishing: Initialize job
2025-07-23T15:18:56.3161366Z Skipping step due to condition evaluation.
Evaluating: False
Result: False

2025-07-23T15:18:56.3264617Z ##[section]Starting: DownloadPipelineArtifact
2025-07-23T15:18:56.3395990Z ==============================================================================
2025-07-23T15:18:56.3396792Z Task : Download Pipeline Artifacts
2025-07-23T15:18:56.3397545Z Description : Download build and pipeline artifacts
2025-07-23T15:18:56.3397948Z Version : 2.198.0
2025-07-23T15:18:56.3398358Z Author : Microsoft Corporation
2025-07-23T15:18:56.3398807Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/download-pipeline-artifact
2025-07-23T15:18:56.3399086Z ==============================================================================
2025-07-23T15:18:56.7844453Z Download from the specified build: #206435
2025-07-23T15:18:56.7864409Z Download artifact to: /home/vsts/work/1/s/targetDir
2025-07-23T15:18:57.9902793Z Using default max parallelism.
2025-07-23T15:18:57.9904358Z Max dedup parallelism: 192
2025-07-23T15:18:57.9905483Z DomainId: 0
2025-07-23T15:18:58.1372626Z ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session 479d1e30-550e-42fe-8b67-a530a8a5398e
2025-07-23T15:18:58.1419401Z Hashtype: Dedup64K
2025-07-23T15:18:58.1637905Z DedupManifestArtifactClient will correlate http requests with X-TFS-Session 479d1e30-550e-42fe-8b67-a530a8a5398e
2025-07-23T15:18:58.1669220Z Minimatch patterns: [**]
2025-07-23T15:18:58.4044263Z Filtered 1 files from the Minimatch filters supplied.
2025-07-23T15:18:58.4135227Z Downloaded 0.0 MB out of 0.0 MB (0%).
2025-07-23T15:18:58.5471392Z Downloaded 0.0 MB out of 0.0 MB (100%).
2025-07-23T15:18:58.5488932Z
2025-07-23T15:18:58.5490804Z Download statistics:
2025-07-23T15:18:58.5491951Z Total Content: 0.0 MB
2025-07-23T15:18:58.5492610Z Physical Content Downloaded: 0.0 MB
2025-07-23T15:18:58.5493288Z Compression Saved: 0.0 MB
2025-07-23T15:18:58.5493862Z Local Caching Saved: 0.0 MB
2025-07-23T15:18:58.5494441Z Chunks Downloaded: 1
2025-07-23T15:18:58.5494962Z Nodes Downloaded: 0
2025-07-23T15:18:58.5571672Z
2025-07-23T15:18:58.5572505Z Download completed.
2025-07-23T15:18:58.7954027Z ApplicationInsightsTelemetrySender correlated 2 events with X-TFS-Session 479d1e30-550e-42fe-8b67-a530a8a5398e
2025-07-23T15:18:58.7958600Z Downloading artifact finished.
2025-07-23T15:18:58.8261857Z ##[section]Finishing: DownloadPipelineArtifact
2025-07-23T15:18:58.8332920Z ##[section]Starting: Bash
2025-07-23T15:18:58.8345747Z ==============================================================================
2025-07-23T15:18:58.8346165Z Task : Bash
2025-07-23T15:18:58.8346359Z Description : Run a Bash script on macOS, Linux, or Windows
2025-07-23T15:18:58.8346659Z Version : 3.259.0
2025-07-23T15:18:58.8346918Z Author : Microsoft Corporation
2025-07-23T15:18:58.8347159Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2025-07-23T15:18:58.8348126Z ==============================================================================
2025-07-23T15:18:59.1151822Z Generating script.
2025-07-23T15:18:59.1164277Z Script contents:
2025-07-23T15:18:59.1167718Z targetDir/test.sh
2025-07-23T15:18:59.1171161Z ========================== Starting Command Output ===========================
2025-07-23T15:18:59.1182028Z [command]/usr/bin/bash /home/vsts/work/_temp/7ba38ba4-a650-439f-b495-551d8eb9bae7.sh
2025-07-23T15:18:59.1318743Z
2025-07-23T15:18:59.1330955Z /home/vsts/work/_temp/7ba38ba4-a650-439f-b495-551d8eb9bae7.sh: line 1: targetDir/test.sh: Permission denied
2025-07-23T15:18:59.1388276Z ##[error]Bash exited with code '126'.
2025-07-23T15:18:59.1426235Z ##[section]Finishing: Bash
2025-07-23T15:18:59.1484569Z ##[section]Starting: Checkout
2025-07-23T15:18:59.1500216Z ==============================================================================
2025-07-23T15:18:59.1500896Z Task : Get sources
2025-07-23T15:18:59.1501149Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2025-07-23T15:18:59.1501503Z Version : 1.0.0
2025-07-23T15:18:59.1501699Z Author : Microsoft
2025-07-23T15:18:59.1502407Z Help : More Information
2025-07-23T15:18:59.1502797Z ==============================================================================
2025-07-23T15:18:59.5116815Z ##[section]Finishing: Checkout
2025-07-23T15:18:59.5149648Z ##[section]Starting: Finalize Job
2025-07-23T15:18:59.5160212Z Cleaning up task key
2025-07-23T15:18:59.5162087Z Start cleaning up orphan processes.
2025-07-23T15:18:59.5518424Z ##[section]Finishing: Finalize Job

Repro steps

pool:
  vmImage: ubuntu-latest

jobs:
  - job: create
    steps:
      - checkout: none
      - bash: |
          echo 'date' >test.sh
          chmod +x test.sh
      - task: PublishPipelineArtifact@1
        inputs:
          targetPath: test.sh
          artifactName: test
  - job: retrieve
    dependsOn: [create]
    steps:
      - checkout: none
      - task: DownloadPipelineArtifact@2
        inputs:
          artifact: test
          targetPath: targetDir
      - bash: |
          ls -Ral
          targetDir/test.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions