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

First build fails if you don't run tests #545

Open
ctsims opened this issue Nov 17, 2017 · 0 comments
Open

First build fails if you don't run tests #545

ctsims opened this issue Nov 17, 2017 · 0 comments

Comments

@ctsims
Copy link
Member

ctsims commented Nov 17, 2017

On your first build / run of the app, if you run excluding the test runner, you get the error

Executing task ':commcare:jenkinsTest' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
:commcare:jenkinsTest FAILED
:commcare:jenkinsTest (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.001 secs.

FAILURE: Build failed with an exception.

* Where:
Build file '/home/ctsims/workspaces/formplayer/libs/commcare/build.gradle' line: 244

* What went wrong:
Execution failed for task ':commcare:jenkinsTest'.
> /home/ctsims/workspaces/formplayer/libs/commcare/build/reports/tests

Because the jenkinsTest task tries to go touch all of the relevant files, but they aren't built yet

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

1 participant