Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-1003

' + '字符文件了fail

    XML Printable

    Details

    • Type: Bug
    • Status: Resolved
      A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.14.0
    • Component/s: Common
    • Labels:
      None

      Description

      ' + '字符文件了fail. When using a file spec to download, if the captured value contains a +, it will not be evaluated.

      To reproduce:
      1. Set up a freestyle jenkins job
      2. Add Generic-Artifactory integration and add this download spec

      { "files": [ { "pattern": "paco/(foo/bar/TAO+ACE)/foo.txt", "target": "{1}/foo.txt", "flat": "true" } ] }

      3. Create a repo 'paco' with the file foo/bar/TAO+ACE/foo.txt and foo/bar/TAO-ACE/foo.txt
      4. Run the build and observe the failure

      Successfully downloaded 'RESTRICTED_URL' to '/var/jenkins_home/workspace/paco/{1}/foo.txt'

      5. Change the download spec to replace the '+' with a '-', notice that it works as expected

      NOTE: Escaping with '/' does not work

        Attachments

          Issue Links

            活动

              People

              Assignee:
              eyalbEyal Ben Moshe [X] (Inactive)
              Reporter:
              arturoaArturo Aparicio [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: