Forum Discussion
cpsingh1983
Sep 08, 2022Copper Contributor
##[error]ENOENT: no such file or directory, stat '/home/vsts/work/1/
Hi,
I am trying to access the file from working directory but its throwing below error. evan file is present in same path. pls advise what is missing here.
Error:
##[error]ENOENT: no such file or directory, stat '/home/vsts/work/1/drop/
below is the code to access the file:
- task: AzurePowerShell@5
displayName: Execute cosmos.configure.ps1
inputs:
# The following path expects the parent job to checkout the lib-pipeline-templates repo.
ScriptPath: '$(Pipeline.Workspace)/drop/cosmos.configure.ps1'
- Teja_Gudipati2Copper ContributorI am also getting the same error, Please let me know if you resolved it