Open teresende opened 1 year ago
Hi, I was getting this error on my pipeline:
##[error]ENOENT: no such file or directory, stat '/home/vsts/work/1/scripts/tech_debt_validation.py'
It seems to be because the checked-out repository code goes to /home/vsts/work/1/s directory by default if not specified.
/home/vsts/work/1/s
In our case, we fixed the issue by creating a new variable and changing this line:
https://github.com/OutSystems/outsystems-pipeline/blob/c8007f8cbbc70767bf87c8eb276e29253b5826fd/examples/azure_devops/multistage/jobs/ValidateTechnicalDebtJob.yaml#L36C13-L36C13
to: scriptPath: '$(Build.SourcesDirectory)$(AIMentorStudio.PathToScript)'
scriptPath: '$(Build.SourcesDirectory)$(AIMentorStudio.PathToScript)'
Same issue here, we had to specify the scripts folder in the pipeline in order for this to work
Hi, I was getting this error on my pipeline:
##[error]ENOENT: no such file or directory, stat '/home/vsts/work/1/scripts/tech_debt_validation.py'
It seems to be because the checked-out repository code goes to
/home/vsts/work/1/s
directory by default if not specified.In our case, we fixed the issue by creating a new variable and changing this line:
https://github.com/OutSystems/outsystems-pipeline/blob/c8007f8cbbc70767bf87c8eb276e29253b5826fd/examples/azure_devops/multistage/jobs/ValidateTechnicalDebtJob.yaml#L36C13-L36C13
to:
scriptPath: '$(Build.SourcesDirectory)$(AIMentorStudio.PathToScript)'