I have following pipline config for my first step:
pipelines:
default:
- step:
caches:
- composer
script:
- apt-get update && apt-get install -y unzip
- apt-get -y install php7.2-gd - apt-get install php7.2-mysql
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
In my composer.json are some composer scripts defined like:
"scripts": { "post-install-cmd": [ "./app/bin/post-install.sh" ] }
After the composer installation, it tries to run the post-install-cmd and throws following error:
<span><br>Script <a href="https://bitbucket.org/realconvis/asx/src/e21e3a894af67ec48e0e316456b723f8c56124b6/app/bin/post-update.sh" target="_blank" rel="noopener noreferrer">./app/bin/post-update.sh</a> handling the post-update-cmd event returned with error code 126</span><span>sh: 1: ./app/bin/post-update.sh: Permission denied</span>
How could i solve that?