rockcrafters / java-rockcraft-plugins

Build Ubuntu rock image for your Java application.
GNU General Public License v3.0
0 stars 1 forks source link

Rockcraft output is not captured in gradle logs #11

Open vpa1977 opened 1 week ago

vpa1977 commented 1 week ago

Bug Description

When building rock using daemon, the rockcraft output is not captured in the build log.

To Reproduce

./gradlew build-rock

Environment

n/a

rockcraft.yaml

n/a

Relevant log output

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':build-rock'.
> Failed to pack rock for modular-hello

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':build-rock'.

--debug does not provide any logs.
vpa1977 commented 1 week ago

Note: running with -i captures rockcraft logs, but it would be nice to get the output when the error occurs.