[AppFlow Capacitor] Permission denied - /builds/***/ionic-capacitor/android/gradlew

I created a new tabs app with capacitor with only scaffold-ed code. In the AppFlow the package for android succeeded.

I then added android platform and make sure it works in both emulator and my android mobile phone in my local computer. In the AppFlow the package for android failed.

±---------------------------±-----------------------------------------------------+
| Lane Context |
±---------------------------±-----------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | android |
| LANE_NAME | android package_build |
| PROJECT_WEB_DIR | www |
| DOWNLOAD_CREDENTIAL_EXISTS | true |
| DOWNLOAD_CREDENTIAL_PATH | /builds/stephenzeng/ionic-capacitor/android.keystore |
| DOWNLOAD_CREDENTIAL_ALIAS | ionic-capacitor |
| GRADLE_BUILD_TYPE | Release |
±---------------------------±-----------------------------------------------------+
[05:48:10]: Permission denied - /builds/***/ionic-capacitor/android/gradlew

Build number is 6646260

Can anyone help please?