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

Regex interpretation in Subversion Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When using the included/exculded regions for subversion polling as build trigger the specified pattern does only work if the commit url matches completely.

      We use multiple paths for storing test data in a subversion repository, multiple jenkins jobs shall be triggered dependend on the paths. If only the relative path is inserted in the included region section for polling filter, the build is not triggered. Using regex for the path didn't work either, even with a '.*' at the beginning.

      With the help of several threads throughout the internet i found out that the plugin does a regex match instead of a search, so that the regex must match the complete path. After the modification of the regex to include '^<regex>$' the trigger worked.

      I humbly request a modification of the plugin to

      • use another regex match method like search
      • or to document the use of regexes

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              lmende Lorenz Mende
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: