-
Bug
-
Resolution: Unresolved
-
Major
-
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
Environment |
Original:
Jenkins v2.42 Artifactory plugin - old version: v2.7.2 - new version: v2.9.1 |
New:
Jenkins v2.47 Artifactory plugin - old version: v2.7.2 - new version: v2.9.1 |
Description |
Original:
Working with MultiBranch Pipelines under Jenkins 2.42, 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. {code:java} def uploadSpec = """{ "files": [ { "regexp": "false", "flat": "false", "pattern": "build-output/*", "target": "repo-name/subdir1/subdir2/subdir3/", } ] }""" {code} 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. |
New:
Working with MultiBranch Pipelines under Jenkins 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. {code:java} def uploadSpec = """{ "files": [ { "regexp": "false", "flat": "false", "pattern": "build-output/*", "target": "repo-name/subdir1/subdir2/subdir3/", } ] }""" {code} 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. |
Environment |
Original:
Jenkins v2.47 Artifactory plugin - old version: v2.7.2 - new version: v2.9.1 |
New:
Jenkins v2.42 and v2.47 Artifactory plugin - old version: v2.7.2 - new version: v2.9.1 |
Description |
Original:
Working with MultiBranch Pipelines under Jenkins 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. {code:java} def uploadSpec = """{ "files": [ { "regexp": "false", "flat": "false", "pattern": "build-output/*", "target": "repo-name/subdir1/subdir2/subdir3/", } ] }""" {code} 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. |
New:
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. {code:java} def uploadSpec = """{ "files": [ { "regexp": "false", "flat": "false", "pattern": "build-output/*", "target": "repo-name/subdir1/subdir2/subdir3/", } ] }""" {code} 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. |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Thanks for reporting this issue. We're looking into it now.