- Red Hat JBoss BPM Suite (BPMS)
- Red Hat JBoss BRMS (BRMS)
- User is trying to update the remote
GIT repositorywhen they save the code/rules from
business-centralrepository project as per the article mentioned here How to configure git hooks in B*MS 6.2 . The operating system used in this scenario is
Windows 7and the requirement is to push the commits automatically by using Git hooks. In the process it is observed that the post-commit hook is not running as expected but, when user runs the command manually then all the commits are posted to the repository properly. Is there any specific action that needs to be performed to achieve it in
- How to set post-commit git hook script for BPM Suite in Windows environment;
Windowsenvironment this issue can be fixed after installing
Cygwin(for windows) like softwares and ensure that the installation path (e.g.
/bindirectory) is properly set in
C:/cygwin/bin). Also make sure to not add extensions to the post-commit script such as
- If the above does not work out even after having a
Cygwinalready installed on the
Windowssystem the users can try out following options to test if it works.
Git clients(if installed already) on the
- Make sure to delete the
Gitfolder manually if it is not deleted.
- Also delete the contents of the
Githubfolder in the O.S. user's
Gitfreshly into the default location.
- Add the following to the existing
PATHsystem variable (the directory structure is given for demonstration only):
C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\libexec\git-core;
In Windows OS git hooks requires
Cygwin installed to work properly.
server.logto make sure that
PATHand JBoss EAP has identified it;
- Check if
post-commitscript has any extension (such as
exe, etc). If so, rename the file to
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.