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

chmod: cannot access './gradlew': No such file or directory #55

Closed
haimari opened this issue Jul 21, 2020 · 1 comment
Closed

chmod: cannot access './gradlew': No such file or directory #55

haimari opened this issue Jul 21, 2020 · 1 comment

Comments

@haimari
Copy link

haimari commented Jul 21, 2020

Hello, When trying to us the suggested .gitlab-ci.yml with gitlab.com
Getting:

Running with gitlab-runner 13.2.0-rc2 (45f2b4ec)
on docker-auto-scale 72989761
Preparing the "docker+machine" executor
01:22
Using Docker executor with image jangrewe/gitlab-ci-android ...
Pulling docker image jangrewe/gitlab-ci-android ...
Using docker image sha256:eafa7507158d67d3a47b9ef1980cf0b2545e0b08b8808ab7bfa77764211a9543 for jangrewe/gitlab-ci-android ...
Preparing environment
00:05
Running on runner-72989761-project-19457915-concurrent-0 via runner-72989761-srm-1595352474-97379c5e...
Getting source from Git repository
00:07
$ eval "$CI_PRE_CLONE_SCRIPT"
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/test-projects/flutter/.git/
Created fresh repository.
Checking out d47aa9b1 as fastlane...
Skipping Git submodules setup
Restoring cache
00:02
Checking cache for 19457915...
FATAL: file does not exist                         
Failed to extract cache
Executing "step_script" stage of the job script
00:01
$ export GRADLE_USER_HOME=$(pwd)/.gradle
$ chmod +x ./gradlew
chmod: cannot access './gradlew': No such file or directory
ERROR: Job failed: exit code 1

If you add this to the CI you can see the issue:

$ find / -name "gradlew"
/sdk/extras/google/google_play_services/samples/unified/ActivityDemo/gradlew
$ pwd
/builds/test-projects/flutter
@jangrewe
Copy link
Owner

Hi, if you project does not use Gradle, then gradlew does of course not exist in the workdir.
You may want to try an Android project...

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