Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong reference for Validate Techincal Debt script #61

Open
teresende opened this issue Jul 20, 2023 · 1 comment
Open

Wrong reference for Validate Techincal Debt script #61

teresende opened this issue Jul 20, 2023 · 1 comment

Comments

@teresende
Copy link

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)'

@basdejong95
Copy link

Same issue here, we had to specify the scripts folder in the pipeline in order for this to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants