• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • m2release-plugin
    • None
    • Platform: All, OS: All

      The Maven Release Plugin lets you specify a comment prefix for the SCM comment,
      using the parameter 'scmCommentPrefix'. This can't be done with the m2release
      and would be a good enhancement.

          [JENKINS-4127] Should be able to specify the comment prefix

          cristalp created issue -

          Julien HENRY added a comment -

          This patch add a new parameter on the release GUI to allow setting the scmCommentPrefix parameter. Could you please review and apply it?

          Julien HENRY added a comment - This patch add a new parameter on the release GUI to allow setting the scmCommentPrefix parameter. Could you please review and apply it?
          Julien HENRY made changes -
          Attachment New: m2release-scmCommentPrefix.patch [ 19372 ]

          Code changed in hudson
          User: : m68k
          Path:
          trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseAction.java
          trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java
          trunk/hudson/plugins/m2release/plugin/src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseAction/index.jelly
          trunk/hudson/plugins/m2release/plugin/src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper/config.jelly
          trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-appendHudsonUsername.html
          trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-specifyCustomScmCommentPrefix.html
          trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-versioningMode.html
          trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-selectAppendHudsonUsername.html
          trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-selectCustomScmCommentPrefix.html
          trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-versioningMode.html
          http://jenkins-ci.org/commit/30891
          Log:
          fixed JENKINS-4127, JENKINS-3429.
          added feature to (optionally) append the Hudson username to the scmCommentPrefix.
          added per-project settings which allow preselecting options for the M2ReleaseAction.
          added more help entries (renamed existing help-projectConfig.html into help-projectConfig-releaseGoals.html).
          minor code code cleanup (added getString() method in M2ReleaseAction).

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : m68k Path: trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseAction.java trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java trunk/hudson/plugins/m2release/plugin/src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseAction/index.jelly trunk/hudson/plugins/m2release/plugin/src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper/config.jelly trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-appendHudsonUsername.html trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-specifyCustomScmCommentPrefix.html trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-versioningMode.html trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-selectAppendHudsonUsername.html trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-selectCustomScmCommentPrefix.html trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-versioningMode.html http://jenkins-ci.org/commit/30891 Log: fixed JENKINS-4127 , JENKINS-3429 . added feature to (optionally) append the Hudson username to the scmCommentPrefix. added per-project settings which allow preselecting options for the M2ReleaseAction. added more help entries (renamed existing help-projectConfig.html into help-projectConfig-releaseGoals.html). minor code code cleanup (added getString() method in M2ReleaseAction).
          James Nord made changes -
          Fix Version/s New: current [ 10162 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          James Nord made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 134200 ] New: JNJira + In-Review [ 202675 ]
          James Nord made changes -
          Assignee Original: James Nord [ teilo ]
          Mark Waite made changes -
          Comment [ This time around, I'm used to removing headers, so I skipped that step. [http://jenkins-ci.org/commit/sloccount-plugin/3a12ffe493e18ef39aca49a7e3a6244b1acf350f] [slope game|https://slope-game.io]

          The only other functionality that is operating correctly is retrieving data; adjustments cannot be made.  ]

            Unassigned Unassigned
            cristalp cristalp
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: