Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.14.0
    • Component/s: Common
    • Labels:
      None

      Description

      File captures with the '+' character 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 'http://mill.jfrog.team:12155/artifactory/paco/foo/bar/TAO+ACE/foo.txt' 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

            Activity

              People

              • Assignee:
                eyalb Eyal Ben Moshe
                Reporter:
                arturoa Arturo Aparicio
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: