In an CI/CD environment how to skip installation of the hook? #168
-
So this plugin is designed to automatically install Git hooks for formatting code. However, in certain CI/CD environments like Microsoft Azure Pipelines, Git hooks might not be applicable or necessary. I would like to skip the hook installation during the pipeline execution. Do you provide a configuration option or parameter to skip the installation of Git hooks or got any suggest on that? Thank you very much for this plugin and upfront for your answer! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Even I am looking for the same, |
Beta Was this translation helpful? Give feedback.
-
Setting -Dgcf.skip=true helped me in that case. Thanks for the reference! |
Beta Was this translation helpful? Give feedback.
Even I am looking for the same,
gcf.skip = true
Will help? or<skip>${skipFormatCode}</skip>
>