"Cannot run process ..... File not found"
I am getting the error
"Cannot run process ........ : file not found"
However, I am able to find and run the script manually, in the exact location teamcity is telling me that it can't find the file.
Please sign in to leave a comment.
Hi,
There's two common possibilities there:
-Permissions issue: If the user running TeamCity doesn't have permissions to run that file, it will not find it and won't run it. The file itself might lack execution permissions.
-Path issue. If you are trying to run a command/script you usually need to have it in your path or pass the path to the executable. If the user you are running it with has the proper PATH set up for it, but the user running the teamcity agent doesn't, then it won't be able to run it.
If that doesn't help, we will need you to provide more details, such as what "file" is not found, which runner you are using, etc.