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! |
Answered by
ashoktronix27
Dec 26, 2023
Replies: 2 comments 1 reply
|
Even I am looking for the same, |
1 reply
Answer selected by
PreDer
|
Setting -Dgcf.skip=true helped me in that case. Thanks for the reference! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Even I am looking for the same,
gcf.skip = trueWill help? or<skip>${skipFormatCode}</skip>>