My questions needs more explanation.
I am working on an Android application and I want to integrate Jacoco to get code coverage report.
So, I created a
jacoco.gradle file in root of my project.
I created a PR and Bitrise caught it and started my work flow.
I have an step in my workflow that run this command
This step fails with this error message:
Task 'testGrabtaxiDebugUnitTestCoverage' not found in root project 'src'.
As this is strange to me (because I have no problem when I run the command on my laptop), I added an script before this step in order to tell me what files and folders are under root. This is my script:
#!/bin/bash # fail if any commands fails set -e # debug log set -x # write your script here echo "Current dir: " $PWD git branch ls -al
It prints out all files and folders I have in root except
jacoco.gradle file. This is very weird to me. Is there any reason I don’t get the file? Any idea would be appreciated. Thanks.