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

Custom commit message not possible when configuring jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The commit comment form doesn't always appear when saving a job configuration. The fault seems to lie in the PageMatcher regexp.

      I've tested the current regexp against a couple of different URIs:
      "view/x//job/a/configure" Passed
      "view/x//job/a/job/b/configure" Passed
      "view/x//job/a/job/b/job/c/configure" Passed
      "/job/a/configure" Passed
      "/job/a/job/b/configure" Passed
      "/view/x//job/a/job/b/job/c/configure" Passed
      "view/x/job/a/job/b/configure" Failed!
      "/job/ab/job/b/configure" Failed!
      "view/x/job/a/configure" Failed!
      "/view/x/job/a/configure" Failed!
      "job/a/configure" Failed!
      "///view/////x//job//a//job//b/////job//c//configure" Failed!

      Some of the failed URIs are real-life examples of URIs where the commit comment form doesn't appear, others are more hypothetical.

      I can work around the problem by adding an extra slash to my URIs when I configure jobs. Instead of opening view/All/job/myjob/configure in my browser, I open view/All//job/myjob/configure.

        Attachments

          Activity

          jonaskaveby Jonas Lind created issue -
          jorgenms Jorgen Sorensen made changes -
          Field Original Value New Value
          Priority Minor [ 4 ] Major [ 3 ]
          rodrigc Craig Rodrigues made changes -
          Resolution Duplicate [ 3 ]
          Status Open [ 1 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 161861 ] JNJira + In-Review [ 208584 ]

            People

            Assignee:
            fcamblor Frédéric Camblor
            Reporter:
            jonaskaveby Jonas Lind
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: