[JIRA] (JENKINS-59132) Perforce Workspace spec file root skipped

2019-08-29 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59132  
 
 
  Perforce Workspace spec file root skipped   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Labels: 
 P4_SUPPORT p4 p4plugin workspace workspace-root  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201564.1567024301000.2501.1567064340454%40Atlassian.JIRA.


[JIRA] (JENKINS-59132) Perforce Workspace spec file root skipped

2019-08-28 Thread j.f.br...@sbcglobal.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Joel Brown commented on  JENKINS-59132  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Perforce Workspace spec file root skipped   
 

  
 
 
 
 

 
 Check out jenkins.model.Jenkins.workspacesDir - e.g., start your jenkins (including slaves) with -Djenkins.model.Jenkins.workspacesDir=d:\${ITEM_FULL_NAME} Note the comments for this property:   https://wiki.jenkins.io/display/JENKINS/Features+controlled+by+system+properties If you do a plain "d:\" then make sure all the workspace View field, right-hand sides, don't overlap. Otherwise you can use a Perforce form-in client trigger to alter the root.  Just make sure you only change the root for jenkins clients.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201564.1567024301000.2377.1567037640161%40Atlassian.JIRA.


[JIRA] (JENKINS-59132) Perforce Workspace spec file root skipped

2019-08-28 Thread alena.volare...@rockstargames.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alena Volarevic created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59132  
 
 
  Perforce Workspace spec file root skipped   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 p4-plugin  
 
 
Created: 
 2019-08-28 20:31  
 
 
Labels: 
 p4plugin p4 workspace workspace-root  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Alena Volarevic  
 

  
 
 
 
 

 
 I have a drive letter (lets say D) that is being used as a root for all the perforce workspaces that we have on our system.  I am trying to use the p4 plugin in Jenkins to sync the code before running the unittest or running any script, and no matter what kind of workspace behavior I use (besides the Static one), It is always syncing the code to the {Jenkins workspace}/{JOB_NAME} and I would like to keep it on the D drive as all the perforce workspaces we have are set right now like that. I managed to get this with the Static workspace behavior, but in that case I have to remote to the slave machines to create the workspace by hand and then use it, which then defeats the purpose of Jenkins...  I tried using the Spec workspace behavior, cause I though if I specify the root in that file, the perforce workspace should use that folder as a root, but whenever it starts the sync part, it again syncs to the jenkins workspace location and sets the workspace root to use that location for root...  It woudl be really nice if we can control where do we want the root to be, if we want to copy the files to the new jenkins workspace or use the root folder that we already had setup before implementing Jenkins. If I'm missing something I apologize for creating this ticket. I am using Jenkins ver 2.190 P4 Plugin 1.10.3 Thanks.