Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-1013

Issue pushing to generic repository for file with semicolon

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.13.1
    • Fix Version/s: 2.14.0
    • Component/s: None
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                romang Roman Gurevitch (Inactive)
                Reporter:
                idletekz Alex Doan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: