Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 436 Bytes

README.md

File metadata and controls

7 lines (7 loc) · 436 Bytes

git hooks examples

Hook Description
pre-commit Edits version.cfg file for manual version change
prepare-commit Add info about commit type (commit, merge, rebase)
and hash in specific cases (rebase)
post-commit Notifies jenkins to build application
Need to setup 2 config variables:
user.jenkins-user
user.jenkins-api-key
post-commit-hash Writes commit hash into C header file