Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact upload issue when a build property value contains trailing slash #36

Open
tusharm opened this issue Aug 20, 2014 · 0 comments
Open

Comments

@tusharm
Copy link

tusharm commented Aug 20, 2014

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:

PUT /artifactory/test-repo/test3/artifact.txt;build_uri=http://my-ci-host:8153/ HTTP/1.1

Please refer to this issue: tusharm/go-artifactory-plugin#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant