bitrise-steplib / steps-gradle-runner

MIT License
10 stars 28 forks source link

Added support for exporting gradle output to file #101

Open angelolloqui opened 1 year ago

angelolloqui commented 1 year ago

Checklist

Version

Requires a MAJOR/MINOR/PATCH version update

Context

This PR adds support to gradle runner for outputing the raw logs into a file. It is useful if you want to add steps in your workflow that parses the build log searching for specific info.

Resolves: https://discuss.bitrise.io/t/allow-output-from-gradle-runner-step-to-be-stored-in-a-file/22551

Changes

Investigation details

Decisions

I decided to leave the parameter as optional and show the full output (instead of last 20 lines like in debug) to keep backward compatibility