0

Using JIB in CI produces a mountain of logs because it prints progress, is there a simple way to turn them off?

In my case I am using the Gradle plugin, but I suspect it is the same issue with the Maven plugin

Dave Ankin
  • 1,060
  • 2
  • 9
  • 20
  • -q option will run the gradle in quit mode example `./gradlew -q build` – Vencat Nov 20 '22 at 11:37
  • that silences all logs, i was wondering if i could remove just jib logs – Dave Ankin Nov 20 '22 at 13:35
  • looks like jib plugin provides a set of properties.. should be possible to achieve by tweaking one of them. Example - https://github.com/GoogleContainerTools/jib/tree/master/jib-gradle-plugin#:~:text=between%20multiple%20images.-,jib.console,-String – Vencat Nov 20 '22 at 13:44
  • @Vencat if you put that as an answer I'll accept it. you could also use this link, which is a bit more reliable i think - https://github.com/GoogleContainerTools/jib/blob/5e787b580ddd59e419b87330f8e370692f8c22b2/jib-gradle-plugin/README.md?plain=1#L320 – Dave Ankin Dec 11 '22 at 15:48
  • Thanks for your comment, but I don't feel to put it as an answer since what I said in the comment is just a suggestion. If you have any small working examples or more info regarding this thread please post your own answer as it'll help others. – Vencat Dec 12 '22 at 07:03

0 Answers0