Truncating GERRIT_CHANGE_SUBJECT can prevent maven from running

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: gerrit-trigger-plugin
    • None
    • Environment:
      gerrit-trigger 2.3.0
      maven 2.2.1

      The gerrit plugin (or maybe gerrit itself) is truncating long commit messages.

      However as it is truncating without intelligence the -DGERRIT_CHANGE_SUBJECT argument passed to Maven can end with a space.

      This causes the invocation of maven to fail due to http://jira.codehaus.org/browse/MNG-3529

      Upgrading to Maven 3 is not currently an option

      The plugin (if it is truncating) could be more aware of the subject and be intelligent for this case.
      See also JENKINS-10692

            Assignee:
            rsandell
            Reporter:
            James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: