Uploaded image for project: 'TeamCity Artifactory Plug-in'
  1. TeamCity Artifactory Plug-in
  2. TCAP-285

Change file Specs pattern

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.1
    • Labels:
      None

      Description

      Currently windows users needs to put double backslashes for windows separator in case of wildcard pattern and four in case of regex.
      Regex pattern (for both windows and linux) requires double backslashes for escape character.
      The expected behaviour should be:

      One backslash for windows wildcard separator (can be replaced by one regular slash).
      For example:

      Old windows wildcard pattern "aaa\\bbb\\pom.xml" now should be "aaa\bbb\pom.xml" or "aaa/bbb/pom.xml" (in any case the code will change backslashes to regular slashes).
      

      Two backslashes for windows regex separator (can be replaced by one regular slash).
      For example:

      Old windows regex pattern "aaa\\\\bbb\\\\pom\\.xml" now should be "aaa\\bbb\\pom\.xml" or "aaa/bbb/pom\.xml" (in any case the code will change any double backslashes to regular slash).
      

      One backslash for escape character in regex pattern.
      For example:

      Old regex pattern "aaa/bbb/pom\\.xml" now should be "aaa/bbb/pom\.xml".
      

        Attachments

          Activity

            People

            Assignee:
            diman Dima Nevelev (Inactive)
            Reporter:
            diman Dima Nevelev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: