[JIRA] [p4-plugin] (JENKINS-33017) Populate option "Auto cleanup and sync" fails silently without adequate permissions

2016-02-19 Thread pal...@perforce.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Paul Allen commented on  JENKINS-33017 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Populate option "Auto cleanup and sync" fails silently without adequate permissions  
 
 
 
 
 
 
 
 
 
 
I was puzzled for a while as I could not reproduce it, but looking at your environment your server version is 12.2 and does not support reconcile -w, which only requires READ. The P4 plugin will fall back to use the older method if you are older than 14.1. 

 
P4 Task: cleaning workspace to match have list.
... p4 reconcile -w -f /Users/pallen/Workspaces/main.p4-jenkins/public/work/workspace/r___ -
p4 reconcile -w -f /Users/pallen/Workspaces/main.p4-jenkins/public/work/workspace/read AutoClean/...
 

 
Please grant a minimum permission of OPEN for the Perforce Jenkins user.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [p4-plugin] (JENKINS-33017) Populate option "Auto cleanup and sync" fails silently without adequate permissions

2016-02-19 Thread s...@sumost.ca (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Steve Robbins commented on  JENKINS-33017 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Populate option "Auto cleanup and sync" fails silently without adequate permissions  
 
 
 
 
 
 
 
 
 
 
Agree it is user error – I didn't read the instructions carefully enough! 
I changed it to Minor. The added error checking would be nice to have. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [p4-plugin] (JENKINS-33017) Populate option "Auto cleanup and sync" fails silently without adequate permissions

2016-02-19 Thread s...@sumost.ca (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Steve Robbins updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33017 
 
 
 
  Populate option "Auto cleanup and sync" fails silently without adequate permissions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Steve Robbins 
 
 
 

Priority:
 
 Major Minor 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [p4-plugin] (JENKINS-33017) Populate option "Auto cleanup and sync" fails silently without adequate permissions

2016-02-19 Thread pal...@perforce.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Paul Allen assigned an issue to Paul Allen 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33017 
 
 
 
  Populate option "Auto cleanup and sync" fails silently without adequate permissions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Paul Allen 
 
 
 

Assignee:
 
 Paul Allen 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [p4-plugin] (JENKINS-33017) Populate option "Auto cleanup and sync" fails silently without adequate permissions

2016-02-19 Thread pal...@perforce.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Paul Allen commented on  JENKINS-33017 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Populate option "Auto cleanup and sync" fails silently without adequate permissions  
 
 
 
 
 
 
 
 
 
 
The reconcile command used in "Auto cleanup and sync" requires a minimum permission of OPEN. READ is not enough. 
I agree that the Job should fail sooner and not continue to the sync step. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [p4-plugin] (JENKINS-33017) Populate option "Auto cleanup and sync" fails silently without adequate permissions

2016-02-18 Thread s...@sumost.ca (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Steve Robbins created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33017 
 
 
 
  Populate option "Auto cleanup and sync" fails silently without adequate permissions  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 p4-plugin 
 
 
 

Created:
 

 18/Feb/16 6:39 PM 
 
 
 

Environment:
 

 Windows Server 2012 build node  Perforce Server version: P4D/NTX64/2012.2/585708 (2013/02/01) 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Steve Robbins 
 
 
 
 
 
 
 
 
 
 
We created a perforce "jenkins_user" with only READ permissions on the repository and discovered that the default "Auto cleanup and sync" populate option silently fails. Here's what the build log shows: 

 
P4 Task: tidying workspace to match have list.
(p4):cmd:... p4 reconcile -n -a -e -d -l -f C:\Jenkins\jobs\45027_Real_Time_MR_Interface_main\wo___
p4 reconcile -n -a -e -d -l -f C:\Jenkins\jobs\45027_Real_Time_MR_Interface_main\workspace/...

You don't have permission for this operation.

(p4):stop:8
duration: (15ms)

P4 Task: syncing files at change: 15452

 

 
Note the permission failure is not acted upon: the plugin goes on to sync files, etc. But previous build files