Question

If I have a git post-commit hook which running a gradle build then how can I see the console log under the running? For example compile.., test.. Thanks the answers

Was it helpful?

Solution

If gradle is printing to standard output you will see the log before the confirmation summary of commit.

Remember your post-commit hook has to be executable, otherwise it's not run.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top