Skip to content

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

@ctsims

Description

@ctsims

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions