[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-02-14 Thread david.tad...@seebyte.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dave Taddei commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 I found that changing the outer quotes from doubles to singles allows this to work again: def downloadSpec = '''{ "files": [ { "pattern": "SomeRepo/$ {Environment} /bundle/$ {Version} /collected_packages/*", "target": "sourcepackages/", "flat": "true" } ] }'''  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-02-14 Thread david.tad...@seebyte.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dave Taddei commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 I don't see this error using pipeline, instead the config is just ignored. My json config is as follows: def downloadSpec = """{ "files": [ { "pattern": "SomeRepo/$ {Environment} /bundle/$ {Version} /collected_packages/*", "target": "sourcepackages/", "flat": "true" } ] }""" Environment and Version are supplied as parameters to the job. Jenkins version: 2.44 Maven Integration: 2.14 Artifactory plugin: 2.9.1  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-02-13 Thread mrich...@paychex.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark R commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 The documentation needs to be updated to indicate that 2.9+ requires version 2.13+ of the maven-plugin. https://issues.jenkins-ci.org/browse/JENKINS-41990  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-27 Thread ahmar...@mail.usf.edu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Martin commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 I also had this problem and upgrading the Maven Integration Plugin from 2.12.1 to 2.14 resolved it.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-25 Thread gstock.pub...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 aflat commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 That did it. I had an older version of the maven intgration plugin, 2.12.1, which had httpclient-4.2.5.jar. I also had the aws plugin, which has httpclient-4.3.jar. I removed aws, and upgraded maven and it worked. Not sure which one caused the issue, but updating and removing fixed it.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-25 Thread rom...@jfrog.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Gurevitch edited a comment on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 We  have  tried  to reproduce the issue with  your Jenkins version and also older version of Jenkins and we suspect that one of the plugins creates this conflict.Could you send us your installed plugins and their versions?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-25 Thread rom...@jfrog.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Gurevitch commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 We have tried your Jenkins version and also older version of Jenkins and we suspect that one of the plugins creates this conflict. Could you send us your installed plugins and their versions?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-24 Thread gstock.pub...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 aflat commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 I have  2.9.1-SNAPSHOT (private-01/24/2017 10:44-jenkins)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-24 Thread rom...@jfrog.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Gurevitch commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 Could you make sure that you downloaded the latest snapshot?  file name: artifactory-2.9.1-20170124.104426-3.hpi  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-24 Thread gstock.pub...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 aflat commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 woops, spoke too soon, still doesn't work java.io.IOException: remote file operation failed: /opt/jenkins/workspace/gs-test-arti-upload/some at hudson.remoting.Channel@2d166852:linux_x86: java.io.IOException: Remote call on linux_x86 failed at hudson.FilePath.act(FilePath.java:992) at hudson.FilePath.act(FilePath.java:974) 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.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:260) at org.jenkinsci.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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Remote call on linux_x86 failed at hudson.remoting.Channel.call(Channel.java:830) at hudson.FilePath.act(FilePath.java:985) ... 12 more Caused by: java.lang.NoSuchMethodError: org.apache.http.impl.client.DefaultHttpClient.execute(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse; at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:89) at org.jfrog.build.client.ArtifactoryHttpClient.execute(ArtifactoryHttpClient.java:203) at org.jfrog.build.client.ArtifactoryHttpClient.upload(ArtifactoryHttpClient.java:199) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:566) 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:2731) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:336) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at ..remote call to linux_x86(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537) at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) at hudson.remoting.Channel.call(Channel.java:822) ... 13 more Finished: FAILURE  
 

  
 
 

[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-24 Thread gstock.pub...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 aflat commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 tested with the snapshot, looks like that all worked, thanks again.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-24 Thread rom...@jfrog.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Gurevitch edited a comment on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 A fix for this issue will be available in our next release. In the mean time you are welcome to use the following snapshot version: [https://repo.jenkins-ci.org/ jenkinsci/ snapshots/org/jenkins-ci/plugins/artifactory/2.9.1-SNAPSHOT/artifactory-2.9.1- 20170123 SNAPSHOT . 161926-1. hpi]  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-24 Thread rom...@jfrog.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Gurevitch commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 A fix for this issue will be available in our next release. In the mean time you are welcome to use the following snapshot version:  https://repo.jenkins-ci.org/jenkinsci/snapshots/org/jenkins-ci/plugins/artifactory/2.9.1-SNAPSHOT/artifactory-2.9.1-20170123.161926-1.hpi  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-21 Thread ey...@jfrog.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Eyal Ben Moshe commented on  JENKINS-41277  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: can't upload artifacts to artifactory   
 

  
 
 
 
 

 
 Thanks for reporting this.  2.9.0 did have its http client upgradrd. We're looking into this.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41277) can't upload artifacts to artifactory

2017-01-21 Thread gstock.pub...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 aflat created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41277  
 
 
  can't upload artifacts to artifactory   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Eyal Ben Moshe  
 
 
Components: 
 artifactory-plugin  
 
 
Created: 
 2017/Jan/21 5:33 PM  
 
 
Environment: 
 jenkins: 2.40  artifactory plugin: 2.90  slave jvm: 1.7  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 aflat  
 

  
 
 
 
 

 
 This used to work with artifactory-plugin 2.81 

 

def artiServer = Artifactory.server('snowball-artifactory')
def repoDir = "rpms-thirdparty-local/centos/6.6/gs-test-arti-upload/${buildNumber}"

def uploadSpec = """{
  "files": [
{
  "pattern": "(configur*)",
  "target": "${repoDir}/{1}",
  "props": "${artiProps};build.name=${JOB_NAME};build.number=${BUILD_NUMBER}"
}

 ]
}"""
def uploadBuildInfo = artiServer.upload spec: uploadSpec
 

 Now it fails with  

 

java.io.IOException: remote file operation failed: /opt/jenkins/workspace/gs-test-arti-upload/some at hudson.remoting.Channel@175e9603:linux_x86: java.io.IOException: Remote call on linux_x86 failed
	at hudson.FilePath.act(FilePath.java:992)
	at hudson.FilePath.act(FilePath.java:974)
	at org.jfrog.hudson.pipeline.executors.GenericUploadExecutor.execution(GenericUploadExecutor.java:52)
	at org.jfrog.hudson.pipeline.steps.UploadStep$Execution.run(UploadStep.java:65)
	at