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

when rtUpload, setting a property value with // results in /

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 3.4.1
    • Fix Version/s: None
    • Component/s: Common
    • Labels:

      Description

      I have a property that looks like "//path/to/folder"

      when I perform something like the following within a declaritive Jenkinsfile (note the props):

      rtUpload (
        serverId: "Artifactory-1",
        spec:
          """{
            "files": [
              {
                "props" : "symbols=//path/to/folder",
                "flat" : "false",
                "pattern": "${file}",
                "target" : "${target}/{1}"
              }
            ]
          }"""
      )

      The resulting props as retrieved from artifactory (via UI or REST) is:

      /path/to/folder
      

      note how the // has been converted to /

      I feel like if I have passed a String to rtUpload it should respect the String!

        Attachments

          Activity

            People

            Assignee:
            eyalb Eyal Ben Moshe
            Reporter:
            dnbyatigammana Dylan Yatigammana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: