You can configure the rules at the Administration -> Add-Ons -> Commit Acceptance link: It is possible to set up any number of triggers, each with its own pattern and parameters. (Workaround: create separate repositories for each of projects (not just the one-module-per-project approach).)įor each trigger, you can specify the path, a file pattern in depot syntax. This is simply a limiation in the SCM, that we can't really overcome. Unfortunately, CVS supports only one hook in a repository, you cannot configure the hooks on module level. If you need it, you install the hook scripts to the repositories and specify different $projectKey parameters in them. If you don't need the commit acceptance functionality, you simply do not install our hook scripts. Subversion can have separate hooks for any of its repositories. If anyone has questions about how to set this trigger up I'm happy to answer them. If a user wanted too this could be reduced further to a file, directory, branch, etc. The example in the script shows how to apply the trigger to a whole Versioned Object Base (VOB). "perldoc " <- Pointing to the ClearCase version of the script here.ĬlearCase is very flexible in how and what triggers can be applied to. Users who want to use this script with ClearCase find these details from the Perldoc contained in the script. He posted the following message to the mailing list: This client was contributed by Bernie Davison. You can configure the Perl interpreter full path and the full path directly in this trigger descriptor."python /commitacceptance-clients/jira-client.py %user% %change%" Jiracommitacceptance change-submit //depot/. Copy to some /commitacceptance-clients directory.Īs Perforce superuser, add a new trigger by executing the p4 triggers command, and adding a new trigger definition line (for Perl client):.To get familiar with the concept of Perforce triggers, please read this. The Perforce client is implemented as a so-called change-submit trigger. You can configure the JIRA access settings (URL, username, password, JIRA project key) in.You can configure the Perl interpreter full path and the full path in verifymsg. Copy and verifymsg to the CVS_HOME/CVSROOT directory.To get familiar with the concept of CVS verifymsg programs, please read this and this. The CVS client is implemented as a verifymsg program. Note that our Subversion client must be able to execute the svnlook program.
0 Comments
Leave a Reply. |