I am getting this “gradlew permission denied” error after pushing my code to my GitLab repository. The build is not able to continue because the gradle wrapper is not able to run.
What is causing this and how to fix it?
ANSWER
From a local terminal/command line, use the Git command that follows to fix this issue:
git update-index --chmod=+x gradlew
Continue to commit the modifications to the gradlew file.
Push the changes to your Git repository.
You can read more at this page: https://www.joseyamut.xyz/2020/08/15/fix-gradlew-permission-denied-on-openshift-deploy/