[JIRA] (JENKINS-49413) IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace

2018-03-07 Thread javier.ortiz...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 javydreamercsw commented on  JENKINS-49413  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace   
 

  
 
 
 
 

 
 Yo are missing the point. The main issue is that Jenkins was not passing environment parameters that would change the location to be inside the workspace. I mentioned that above.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49413) IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace

2018-03-07 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc closed an issue as Won't Fix  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Close as Won't fix to cleanup Jira. I don't see a way to move forward, by design of Jenkins, the withMaven plugin cannot retrieve a file located outside of the workspace.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-49413  
 
 
  IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace   
 

  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 
 
Status: 
 In Progress Closed  
 
 
Resolution: 
 Won't Fix  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google 

[JIRA] (JENKINS-49413) IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace

2018-03-06 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc commented on  JENKINS-49413  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace   
 

  
 
 
 
 

 
 Jesús Lunar Pérez I think that your problem is, I have created JENKINS-46084 for your point. javydreamercsw I have discussed with Jesse Glick, a plugin cannot access to files that are outside of the workspace. It is a constraint "by design". Could you use a kind of "target" folder inside your workspace and maybe clean/delete this folder after your build?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49413) IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace

2018-03-05 Thread jl...@eprinsa.es (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesús Lunar Pérez commented on  JENKINS-49413  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace   
 

  
 
 
 
 

 
 It's happening to me when we have a symbolic link:   

 

java.lang.IllegalArgumentException: Cannot relativize '/otroslogs/jenkins-slave-linux1_workspace/_fase_de_desarrollo_develop-ALBFALIG5NIYSNB3RJP57YZCFEWN2BOOLC4LAHO4X6PUMFPXW26Q/EprGestorX509/src/main/java' relatively to '/var/lib/jenkins/workspace/_fase_de_desarrollo_develop-ALBFALIG5NIYSNB3RJP57YZCFEWN2BOOLC4LAHO4X6PUMFPXW26Q'
 

   Folder "workspace" in /var/lib/jenkins/workspace/ points to /otroslogs/jenkins-slave-linux1_workspace/ So, at some point, it gets the real url and "thinks" it's a different path (but it's not)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49413) IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace

2018-02-14 Thread javier.ortiz...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 javydreamercsw commented on  JENKINS-49413  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace   
 

  
 
 
 
 

 
 I'll try to explain without giving too much away: 
 
We have a testing framework that retrieves artifacts from an internal Maven repositories. 
The artifact is unzipped and ran as a server. 
Test framework interacts with the artifact. 
 I understand the security concerns, but the main issue here is that even when I specify the tmp dir to be used in the pipeline it doesn't make it all the way to the actual test. It works fine out of the pipeline. (i.e. moving it within the workspace)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49413) IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace

2018-02-13 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc commented on  JENKINS-49413  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace   
 

  
 
 
 
 

 
 Mirko Streckenbach please create de dedicated JIRA issue if you get an IllegalArgumentException when the Maven project is in a sub folder of your "checkout".   javydreamercsw I am afraid that we cannot do much if some generated artifacts are stored outside of the "workspace". There is a security question here. javydreamercsw Can you help us understand why you needed to go outside of the "checkout" and outside of a "target" folder.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49413) IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace

2018-02-13 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49413  
 
 
  IllegalArgumentException : Cannot relativize '...' relatively to ...' for artifacts stored outside of the workspace   
 

  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 
 
Summary: 
 IllegalArgumentException : Cannot relativize '...' relatively to ...'  for artifacts stored outside of the workspace  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.