[
https://issues.jenkins-ci.org/browse/JENKINS-10802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162000#comment-162000
]
Frédéric Camblor commented on JENKINS-10802:
--------------------------------------------
Just fixed JENKINS-10858 which should allow to define a custom message pattern
for commit message.
To make it work during the initial upload of config, you will have to make a
"trick" :
- Keep the "no scm" radio button checked, but change the commit message pattern
as you want (for example : "[ISSUE-1234] [message]"
- Save jenkins configuration screen
- Go back to configuration screen
- Select an scm (and configure it) : initial upload will use your configured
pattern.
If you don't use this trick, commit message pattern will only be made available
_after_ the initial upload of config (can't do things differently :().
Not a hard workaround IMHO ... ;)
Feature will be made available in upcoming 0.0.5 of scm-sync-configuration
plugin
> Provide an commit message on initial upload of config
> ------------------------------------------------------
>
> Key: JENKINS-10802
> URL: https://issues.jenkins-ci.org/browse/JENKINS-10802
> Project: Jenkins
> Issue Type: New Feature
> Components: scm-sync-configuration
> Reporter: Scott Carpenter
> Assignee: Frédéric Camblor
>
> Can we please have a way to enter a commit message for the initial upload.
> We use Jira Studio which has a pre-commit hook requiring an issue number for
> all commits.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira