Forum Discussion

Neetupalcs13's avatar
Neetupalcs13
Copper Contributor
Mar 02, 2025

Pipeline Extraction Step Fails: Archive File Not Found

Issue Summary

The archive file is not found during the extraction step in the pipeline, causing the task to fail.

Steps to Reproduce
Run the pipeline with the ExtractFiles task configured to extract a previously archived file.
The task attempts to locate and extract the file from the expected directory.
The extraction step fails due to a missing or inaccessible archive file.
Expected Results

The extraction step should successfully locate the archive file and extract its contents.

Actual Results
The pipeline fails at the extraction step.
The archive file is not found at the expected location.
Error Details

Relative file path: _$(Build.BuildDefinition)/80-build/80.zip resolving to: /home/vsts/work/r1/a/_$(Build.BuildDefinition)/80-build/80.zip

Error Message:

Error: Specified archive: /home/vsts/work/r1/a/_$(Build.BuildDefinition)/80-build/80.zip cannot be extracted because it cannot be accessed. Error: ENOENT: no such file or directory, stat '/home/vsts/work/r1/a/_$(Build.BuildDefinition)/80-build/80.zip'

No RepliesBe the first to reply

Resources