Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception occured while reading gradle file #12

Open
soethan99 opened this issue Nov 25, 2021 · 1 comment
Open

Exception occured while reading gradle file #12

soethan99 opened this issue Nov 25, 2021 · 1 comment

Comments

@soethan99
Copy link

An exception occured while reading gradle file: No such file or directory @ rb_sysopen

Following error occured when using android_get_version_code and android_get_version_name containing white space in provided gradle path.

E-g .
android_get_version_code(gradle_file: "MBFS/build.gradle") works fine.

android_get_version_code(gradle_file: "MBFS\ JP/build.gradle") exception occur.

@losikov
Copy link

losikov commented Jan 29, 2022

The same happens if path to the project has spaces:

An exception occured while reading gradle file: No such file or directory @ rb_sysopen - /Client\ Test\ And\ Internal\ Deploy/android/app/build.gradle

invoked by:

version = android_get_version_name(gradle_file: "android/app/build.gradle")

If I rename jerkins job (and folder name) to "ClientTestAndInternalDeploy" it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants