Issue Type: Bug Bug
Assignee: Frédéric Camblor
Components: scm-sync-configuration-plugin
Created: 27/Mar/15 12:14 PM
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.

Environment: Jenkins 1.580.3, SCM Sync Configuration Plugin 0.0.8
Project: Jenkins
Priority: Minor Minor
Reporter: Jonas Kåveby
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to