I have trouble running
./gradlew check in Gitlab CI. Attempting to run
./gradlew will result in “Permission denied”. I’ve tried the following:
chmod +x ./gradlewin
before_scriptwhich results in an “Operation not permitted” error
git update-index --chmod=+x gradlew. This updates the flag fine in staged files but doesn’t get committed to HEAD on Windows.
I’ve created a plain demo project to replicate the issue: https://gitlab.com/FrozenGenis/gitlab-ci-permission-test .
Could someone point me in the right direction on how to solve this issue?