skrugly / mirakle

Gradle plugin to move build process to remote machine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running tests from IntelliJ subproject fail

AndrewReitz opened this issue · comments

When trying to execute a test from a subproject from IntelliJ it looks like mirakle doesn't know what directory gradlew is present in and tries to execute gradlew from the subproject folder resulting in the follow error.

> Configure project :
Here's Mirakle 1.4.1. All tasks will be executed on LLAMA.
> Task :uploadToRemote
muxclient: master hello exchange failed

> Task :executeOnRemote
bash: .mirakle/subproject/gradlew: No such file or directory
> Task :downloadFromRemote
> Task :mirakle FAILED
Total time : 0.944 secs
Task uploadToRemote took : 0.515 secs
Task executeOnRemote took : 0.16 secs
Task downloadFromRemote took : 0.22 secs
4 actionable tasks: 4 executed

This seems to not be an issue with IntelliJ, I can cause the same issue if I run ../gradlew build from the subproject. If I run the same command with -x mirakle it works fine.