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
Learn why Compass was built to tackle dev experience at scale. See how Atlassian uses it to boost visibility, reduce cognitive load, and drive consistency—plus tips to get started and customize your IDP for stronger team engagement.
Join the webinar ✨Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.