I put up a vagrant box with teamcity. Everything works but when I add a command line build step, which contains 'drush cc all' I get this error:
Cannot run process: Cannot run program "/vagrant/public/TeamCity/buildAgent/temp/agentTmp/custom_script1106304414420673073" (in directory "/vagrant/public/dev"): java.io.IOException: error=13, Permission denied
This is a permissions error that can be fixed by updating mode on github. I am guessing that your files were created with default 100644, but they need to have 100755 in order to execute on team city. Do the following in the directory with the script:
$ git update-index --add --chmod=+x your-script-file
$ git commit -m "update mode"
$ git push
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With