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

uploadSpec directory structure behaviour change

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin
    • None
    • 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.

          [JENKINS-42255] uploadSpec directory structure behaviour change

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

              Created:
              Updated: