-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins ver. 1.609.3
P4 plugin 1.3.1
OS: RHEL 6.4
Java: 1.8.0_60
I'm seeing that p4-plugin does not set +x permission on some synced files when they do have the +x attribute in the depot. Earlier we were using the legacy "Perforce plugin" and did not see this issue. This seems to resemble the bug JENKINS-28220
if I do a "p4 sync -f <filename>" manually in the same workspace then this rectifies the issue, but whenever the p4-plugin in jenkins updates the file it removes the execute permission.
We are using the "Template" workspace behavior and "Sync only" populate option and I noticed that p4-plugin often leaves the "Root:" field in the client as "null"