I think that will let you edit the copy of the file in the workspace but you 
can’t check it out and in.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Tim Hargreaves
Sent: Friday, October 16, 2015 1:32 PM
To: Jenkins Users
Subject: Re: How to checkout file in Jenkins perforce plugin ?

What we do is just have a user with read only access perform the sync and just 
have the workspace set to 'allwrite'

On Friday, October 16, 2015 at 8:25:29 AM UTC-7, Sanjeev Singh wrote:
Hi,
I am a new user to Jenkins and trying to setup a C++ build using perforce. I am 
able to create the view and build the project fine using MSBuild.
But I need to modify one header file containing version info before build and 
submit the changed file on perforce after build.
I am trying to use 'p4 edit' command, but getting this error :

 <https://jenkins.factset.com/job/Partners/job/NetCli_Win32/ws/>p4> edit -c 
default //depot/est/Partners/Tools/Netcli/netcli_version.h

//depot/est/Partners/Tools/Netcli/netcli_version.h - no permission for 
operation on file(s).



Please can someone  let me know what is the issue here, why can't I checkout a 
file using 'p4 edit' ?



Thanks,

Sanjeev
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/45dbcec5-4885-4451-aae2-5e345eb55bb1%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/45dbcec5-4885-4451-aae2-5e345eb55bb1%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D867D63C%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.

Reply via email to