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

Can't use "props" in spec file with artifactory-plugin 2.12

XMLWordPrintable

      Using "props" in artifactory spec files stopped working after updating the artifactory-plugin from version 2.11 to 2.12. We use "Generic-Artifactory Integration" with the spec file:

      {
        "files": [
           {
              "pattern": "generic-local/dir/*",
              "target": "outdir/",
              "props": "key=${val}",
              "flat": "true"
           }
        ]
      }

      The given property above does exist on some of the binaries in the "generic-local/dir" directory in Artifactory. The "props" field in the spec file is used to filter out those artifacts. Unfortunately this stopped working with version 2.12. Note that the property includes an environment variable.

      Downgrading the plugin to version 2.11 only downloads the artifacts in the "generic-local/dir" folder which have the property given in the spec file. This is the expected behavior.

            eyalbe Eyal Ben Moshe
            jlycke Jens Lycke
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: