You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when I attach properties to an artifact (while uploading, using DeployDetails.addProperties()), if the last attached property value has a trailing "/", the artifact is created as a directory in Artifactory.
As an example, if the target URI is test-repo/test3/artifact.txt and the only build property is [build_uri, http://my-ci-host:8153/], then "artifact.txt" is created as a directory. This is the request line from debug logs:
PUT /artifactory/test-repo/test3/artifact.txt;build_uri=http://my-ci-host:8153/ HTTP/1.1
Hello,
I noticed that when I attach properties to an artifact (while uploading, using
DeployDetails.addProperties()
), if the last attached property value has a trailing "/", the artifact is created as a directory in Artifactory.As an example, if the target URI is
test-repo/test3/artifact.txt
and the only build property is [build_uri,http://my-ci-host:8153/
], then "artifact.txt" is created as a directory. This is the request line from debug logs:Please refer to this issue: tusharm/go-artifactory-plugin#15
The text was updated successfully, but these errors were encountered: