[HAP-1013] Issue pushing to generic repository for file with semicolon Created: 28/Nov/17  Updated: 16/Apr/18  Resolved: 28/Dec/17

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 2.13.1
Fix Version/s: 2.14.0

Type: Bug Priority: Normal
Reporter: Alex Doan Assignee: Roman Gurevitch (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
depends on BI-438 Issue pushing to generic repository f... Resolved
Support Tickets:

Wells Fargo Charlotte Team - Support Case


 Description   

For pattern: *.txt 2 artifacts were found.
Deploying artifact: http://<URL>/artifactory/repo-alex-deployable/alex/hello/test_deploy/test_deploy_14/other;set2.txt
Deploying artifact: http://<URL>/artifactory/repo-alex-deployable/alex/hello/test_deploy/test_deploy_14/other;random.txt

java.io.IOException: remote file operation failed:<workspace>/build at hudson.remoting.Channel@6285d84:wpvra93a0163: java.io.IOException: Failed to deploy file. Status code: 403 Response message: Artifactory returned the following errors:
Not enough permissions to overwrite artifact 'repo-alex-deployable:alex/hello/test_deploy/test_deploy_14/other' (user 'SomeArtifactoryUser' needs DELETE permission). Status code: 403
at hudson.FilePath.act(FilePath.java:986)
at hudson.FilePath.act(FilePath.java:968)
at org.jfrog.hudson.pipeline.executors.GenericUploadExecutor.execution(GenericUploadExecutor.java:52)
at org.jfrog.hudson.pipeline.steps.UploadStep$Execution.run(UploadStep.java:65)
at org.jfrog.hudson.pipeline.steps.UploadStep$Execution.run(UploadStep.java:46)
at org.SomeArtifactoryUserci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
at hudson.security.ACL.impersonate(ACL.java:213)
at org.SomeArtifactoryUserci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Failed to deploy file. Status code: 403 Response message: Artifactory returned the following errors:
Not enough permissions to overwrite artifact 'repo-alex-deployable:alex/hello/test_deploy/test_deploy_14/other' (user 'SomeArtifactoryUser' needs DELETE permission). Status code: 403
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:571)
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:275)
at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.deploy(GenericArtifactsDeployer.java:217)
at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:189)
at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:130)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
at hudson.remoting.UserRequest.perform(UserRequest.java:120)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at ......remote call to wpvra93a0163(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
at hudson.remoting.Channel.call(Channel.java:781)
at hudson.FilePath.act(FilePath.java:979)
... 12 more
Finished: FAILURE


Generated at Tue Oct 15 17:20:35 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.