uploadSpec directory structure behaviour change

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: artifactory-plugin
    • None
    • Environment:
      Jenkins v2.42 and v2.47

      Artifactory plugin
      - old version: v2.7.2
      - new version: v2.9.1

      Working with MultiBranch Pipelines under Jenkins 2.42 and 2.47, Artifactory Plugin version 2.7.2 and the uploadSpec below, the resulting path on Artifactory is repo-name/subdir1/subdir2/subdir3/build-output/my-file.binary.

      def uploadSpec = """{
        "files": [
          {
           "regexp": "false",
           "flat": "false",
           "pattern": "build-output/*",
           "target": "repo-name/subdir1/subdir2/subdir3/",
          }
        ]
      }"""
      

      After upgrading the Artifactory plugin to the latest version (2.9.1), the resulting path on Artifactory changed and is now repo-name/subdir1/subdir2/subdir3/my-file.binary. It looks like the build-output directory is no longer taken into consideration, which breaks the upload pattern for us.

            Assignee:
            Eyal Ben Moshe
            Reporter:
            Razvan Botez
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: