Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10984

Truncating GERRIT_CHANGE_SUBJECT can prevent maven from running

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • gerrit-trigger-plugin
    • None
    • 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

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

              Created:
              Updated: