[JIRA] (JENKINS-59657) Concurrent runs of a pipeline job that uses a custom workspaces cause p4sync to fail occassionally

2019-10-08 Thread vsia...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vasiliki Siakka commented on  JENKINS-59657  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Concurrent runs of a pipeline job that uses a custom workspaces cause p4sync to fail occassionally   
 

  
 
 
 
 

 
 Thank you for the reply Karl Wirth. Would you consider supporting this in the future, should I change this to a feature request?   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.202347.1570195531000.3234.1570532040152%40Atlassian.JIRA.


[JIRA] (JENKINS-59657) Concurrent runs of a pipeline job that uses a custom workspaces cause p4sync to fail occassionally

2019-10-04 Thread vsia...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vasiliki Siakka commented on  JENKINS-59657  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Concurrent runs of a pipeline job that uses a custom workspaces cause p4sync to fail occassionally   
 

  
 
 
 
 

 
 The error message I saw is similar to the one described in https://issues.jenkins-ci.org/browse/JENKINS-50975  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.202347.1570195531000.1075.1570195800062%40Atlassian.JIRA.


[JIRA] (JENKINS-59657) Concurrent runs of a pipeline job that uses a custom workspaces cause p4sync to fail occassionally

2019-10-04 Thread vsia...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vasiliki Siakka created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59657  
 
 
  Concurrent runs of a pipeline job that uses a custom workspaces cause p4sync to fail occassionally   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 p4-plugin, workflow-durable-task-step-plugin  
 
 
Created: 
 2019-10-04 13:25  
 
 
Environment: 
 p4-plugin: 1.9.6  workflow-durable-task-step: 2.29  Jenkins: 2.168  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Vasiliki Siakka  
 

  
 
 
 
 

 
 I have a number of jobs that are named differently, and do similar but different operations, but have the same perforce mapping and run the same setup. I wanted to share a workspace amongst all those jobs, so that i can benefit from the p4sync and setup caching.  I wrote my jobs like this: 

 

node('myNodeLabel') {
ws('C:\\MyCustomWorkspace') {
stage('Prepare node') {
  def p4WsName = 'custom-workspace-${NODE_NAME}'
  p4sync credential: 'myCred',
   changelog: false,
   populate: autoClean(replace: true, quiet: true, delete:false),
workspace: [
  $class: 'ManualWorkspaceImpl',
  charset: 'utf8',
  pinHost: false,
  name: p4WsName,
  spec: [
allwrite: true,
backup: false,
clobber: true,
compress: false,
line: 'LOCAL',
locked: false,
modtime: false,
rmdir: true,
streamName: '',
type: 'WRITABLE',
view: """\
  //depot/... //${p4WsName}/..."""
  ]
]