I am getting this error while running pipelines in bitbucket. please help me out to find a solution.
yml file is like,
image: php:7.1.1
pipelines:
default:
- step:
caches:
- composer script:
- apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
- vendor/bin/phpunit
Hi Sutheesh,
Can you check what the permissions on the file are?
ls -l vendor/bin/phpunit
Perhaps it hasn't been marked as runnable, and needs to modified to do-so
chmod +x vendor/bin/phpunit
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.