Hi, I just got started with Drone. It took me less than five minutes to get set up as a completely new user using a Gradle build, so props to the Drone team, that was awesome!
I do have one question though. I am doing the example setup for Gradle, which correctly built and ran the unit tests and everything worked fine, but I have no way of seeing the unit test report. Generated at (file:///drone/src/backends/acornui-lwjgl-backend/build/reports/tests/jvmTest/index.html)
I can see from the build logs what test is failing, but not the expected/actual results.
Drone does not support reading or displaying reports. This is out of scope for Drone and something that should be handled externally. For example, you can upload your reports to a server or to S3, or you can use a third party system (similar to Codecov or Coveralls for viewing coverage reports).
I got what I wanted working.
What worked: Appleboy SCP plugin uploading via SSH to another server.
What didn’t work: Trying to upload files from Gradle. (Very slow and difficult to get working correctly)
The scp plugin is great, but there was a lot of trial and error on my part. What workflow do people use when trying to test drone io? I imagine people don’t do what I did and commit 47 attempts before getting it right
- name: build-test-publish
- gradle build publish --stacktrace
- name: upload-reports
- name: upload-artifacts