Forum Discussion
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'