Hi folks
I am trying to use Bitbucket Pipelines to build my Android App and I am struggling with a custom script I wrote to avoid having everything in the .yml file.
This is my error:
chmod +x ./build-debug.sh
<span>chmod: changing permissions of ‘./build-debug.sh’: Operation not permitted</span>
This is my bitbucket-pipelines.yml
image: uber/android-build-environment:latest
pipelines:
pull-requests: '**':
- step:
name: "Build DEBUG and run Unit Tests"
caches:
- gradle
script:
- echo "START script build-debug.sh"
- chmod +x ./build-debug.sh
- ./build-debug.sh
- echo "END script build-debug.sh"
artifacts: - app/build/outputs/apk/debug/*.apk
How can I solve this and make build-debug.sh executable?